http3-0.0.11: HTTP/3 library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.HTTP3.Client

Description

A client library for HTTP/3.

Synopsis

Runner

run :: Connection -> ClientConfig -> Config -> Client a -> IO a Source #

Running an HTTP/3 client.

Runner arguments

data ClientConfig Source #

Configuration for HTTP/3 or HQ client. For HQ, authority is not used and an server's IP address is used in Request.

Constructors

ClientConfig 

data Config Source #

Configuration for HTTP/3 or HQ.

allocSimpleConfig :: IO Config Source #

Allocating a simple configuration with a handle-based position reader and a locally allocated timeout manager.

freeSimpleConfig :: Config -> IO () Source #

Freeing a simple configration.

data Hooks Source #

Hooks mainly for error testing.

defaultHooks :: Hooks Source #

Default hooks.