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

Network.HTTP3.Server

Description

A server library for HTTP/3.

Synopsis

Runner

run :: Connection -> Config -> Server -> IO () Source #

Running an HTTP/3 server.

Runner arguments

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.