http-semantics
Safe HaskellNone
LanguageHaskell2010

Network.HTTP.Semantics.Server.Internal

Synopsis

Documentation

newtype Request Source #

Request from client.

Constructors

Request InpObj 

Instances

Instances details
Show Request Source # 
Instance details

Defined in Network.HTTP.Semantics.Server.Internal

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.HTTP.Semantics.Server.Internal

Methods

showsPrec :: Int -> Response -> ShowS

show :: Response -> String

showList :: [Response] -> ShowS

data Aux Source #

Additional information.

Constructors

Aux 

Fields

  • auxTimeHandle :: Handle

    Time handle for the worker processing this request and response.

  • auxMySockAddr :: SockAddr

    Local socket address copied from Config.

  • auxPeerSockAddr :: SockAddr

    Remove socket address copied from Config.

  • auxSendInformational :: Status -> ResponseHeaders -> IO ()

    Send an informational (1xx) response, e.g. 103 Early Hints, on this request's stream before the final response. May be called multiple times. A no-op in defaultAux.

    Since: 0.4.1