Modulehttp2-5.3.10Haskell2010
Network.HTTP2.Client.Internal
- 7 types
- 1 value
- Packagehttp2-5.3.10
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Client configuration
Constructors
ClientConfigscheme :: Schemehttps or http
cacheLimit :: IntThe maximum number of incoming streams on the net
connectionWindowSize :: WindowSizeThe window size of connection.
settings :: SettingsSettings
Instances2Eq, Show
Eq ClientConfigDefined in http2-5.3.10 · Network.HTTP2.Client.RunShow ClientConfigDefined in http2-5.3.10 · Network.HTTP2.Client.Run
HTTP/2 settings. See https://datatracker.ietf.org/doc/html/rfc9113#name-defined-settings.
Constructors
SettingsheaderTableSize :: IntSETTINGS_HEADER_TABLE_SIZE
enablePush :: BoolSETTINGS_ENABLE_PUSH
maxConcurrentStreams :: Maybe IntSETTINGS_MAX_CONCURRENT_STREAMS
initialWindowSize :: WindowSizeSETTINGS_INITIAL_WINDOW_SIZE
maxFrameSize :: IntSETTINGS_MAX_FRAME_SIZE
maxHeaderListSize :: Maybe IntSETTINGS_MAX_HEADER_LIST_SIZE
pingRateLimit :: IntMaximum number of pings allowed per second (CVE-2019-9512)
emptyFrameRateLimit :: IntMaximum number of empty data frames allowed per second (CVE-2019-9518)
settingsRateLimit :: IntMaximum number of settings frames allowed per second (CVE-2019-9515)
rstRateLimit :: IntMaximum number of reset frames allowed per second (CVE-2023-44487)
Additional information.
Constructors
AuxauxPossibleClientStreams :: IO IntHow many streams can be created without blocking.
Low level
3 declarationsConstructors
ClientIOcioMySockAddr :: SockAddrcioPeerSockAddr :: SockAddrcioWriteRequest :: Request -> IO (StreamId, Stream)cioReadResponse :: Stream -> IO ResponsecioWriteBytes :: ByteString -> IO ()cioCreateStream :: IO (StreamId, Stream)
Launching a receiver and a sender.