http2-5.0.1: HTTP/2 library
Safe HaskellNone
LanguageHaskell2010

Network.HTTP2.Server.Internal

Contents

Synopsis

Documentation

newtype Request Source #

Request from client.

Constructors

Request InpObj 

Instances

Instances details
Show Request Source # 
Instance details

Defined in Network.HTTP2.Server.Types

Methods

showsPrec :: Int -> Request -> ShowS

show :: Request -> String

showList :: [Request] -> ShowS

newtype Response Source #

Response from server.

Constructors

Response OutObj 

Instances

Instances details
Show Response Source # 
Instance details

Defined in Network.HTTP2.Server.Types

Methods

showsPrec :: Int -> Response -> ShowS

show :: Response -> String

showList :: [Response] -> ShowS

data Aux Source #

Additional information.

Constructors

Aux 

Fields

Low level

data Stream Source #

Instances

Instances details
Show Stream Source # 
Instance details

Defined in Network.HTTP2.H2.Types

Methods

showsPrec :: Int -> Stream -> ShowS

show :: Stream -> String

showList :: [Stream] -> ShowS

data ServerIO Source #

Constructors

ServerIO 

Fields

runIO :: ServerConfig -> Config -> (ServerIO -> IO (IO ())) -> IO () Source #

Launching a receiver and a sender without workers. Any frames can be sent with sioWriteBytes.