simplexmq-6.5.0.8: SimpleXMQ message broker
Safe HaskellNone
LanguageHaskell2010

Simplex.Messaging.Transport.HTTP2

Documentation

withHTTP2 :: forall a (p :: TransportPeer). BufferSize -> (Config -> IO a) -> IO () -> TLS p -> IO a Source #

allocHTTP2Config :: forall (p :: TransportPeer). TLS p -> BufferSize -> IO Config Source #

http2TLSParams :: Supported Source #

data HTTP2Body Source #

Constructors

HTTP2Body 

Fields

class HTTP2BodyChunk a where Source #

Methods

getBodyChunk :: a -> IO ByteString Source #

getBodySize :: a -> Maybe Int Source #

Instances

Instances details
HTTP2BodyChunk Response Source # 
Instance details

Defined in Simplex.Messaging.Transport.HTTP2

Methods

getBodyChunk :: Response -> IO ByteString Source #

getBodySize :: Response -> Maybe Int Source #

HTTP2BodyChunk Request Source # 
Instance details

Defined in Simplex.Messaging.Transport.HTTP2

Methods

getBodyChunk :: Request -> IO ByteString Source #

getBodySize :: Request -> Maybe Int Source #