Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Network.HTTP2.Client.Internal
Contents
Synopsis
- newtype Request = Request OutObj
- newtype Response = Response InpObj
- data ClientConfig = ClientConfig {}
- data Settings = Settings {}
- data Aux = Aux {}
- data Stream
- data ClientIO = ClientIO {
- cioMySockAddr :: SockAddr
- cioPeerSockAddr :: SockAddr
- cioWriteRequest :: Request -> IO (StreamId, Stream)
- cioReadResponse :: Stream -> IO Response
- cioWriteBytes :: ByteString -> IO ()
- cioCreateStream :: IO (StreamId, Stream)
- runIO :: ClientConfig -> Config -> (ClientIO -> IO (IO a)) -> IO a
Documentation
Request from client.
Response from server.
data ClientConfig Source #
Client configuration
Constructors
ClientConfig | |
Fields
|
Instances
Show ClientConfig Source # | |
Defined in Network.HTTP2.Client.Run Methods showsPrec :: Int -> ClientConfig -> ShowS # show :: ClientConfig -> String # showList :: [ClientConfig] -> ShowS # | |
Eq ClientConfig Source # | |
Defined in Network.HTTP2.Client.Run |
HTTP/2 settings. See https://datatracker.ietf.org/doc/html/rfc9113#name-defined-settings.
Constructors
Settings | |
Fields
|
Additional information.
Constructors
Aux | |
Fields
|
Low level
Constructors
ClientIO | |
Fields
|