Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
ClientConfig | |
|
Instances
Show ClientConfig Source # | |
Defined in Network.HTTP2.Client.Run showsPrec :: Int -> ClientConfig -> ShowS # show :: ClientConfig -> String # showList :: [ClientConfig] -> ShowS # | |
Eq ClientConfig Source # | |
Defined in Network.HTTP2.Client.Run (==) :: ClientConfig -> ClientConfig -> Bool # (/=) :: ClientConfig -> ClientConfig -> Bool # |
HTTP/2 settings. See https://datatracker.ietf.org/doc/html/rfc9113#name-defined-settings.
Settings | |
|
Instances
Additional information.
Aux | |
|
Low level
ClientIO | |
|