Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.HTTP2.Client.Internal
Contents
Synopsis
- newtype Request = Request OutObj
- newtype Response = Response InpObj
- data ClientConfig = ClientConfig {
- scheme :: Scheme
- authority :: Authority
- cacheLimit :: Int
- connectionWindowSize :: WindowSize
- settings :: Settings
- data Settings = Settings {
- headerTableSize :: Int
- enablePush :: Bool
- maxConcurrentStreams :: Maybe Int
- initialWindowSize :: WindowSize
- maxFrameSize :: Int
- maxHeaderListSize :: Maybe Int
- data Aux = Aux {
- auxPossibleClientStreams :: IO Int
- 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
|
Instances
Additional information.
Constructors
Aux | |
Fields
|
Low level
Constructors
ClientIO | |
Fields
|