Network.HTTP.Semantics.Server.Internal

http-semantics-0.3.0: HTTP senmatics libarry

Safe Haskell | None
Language | Haskell2010

Network.HTTP.Semantics.Server.Internal

Synopsis

- newtype Request = Request InpObj
- newtype Response = Response OutObj
- data Aux = Aux {
  - auxTimeHandle :: Handle
  - auxMySockAddr :: SockAddr
  - auxPeerSockAddr :: SockAddr
  }

# Documentation

newtype Request #

Request from client.

Constructors

Request InpObj |

#### Instances

Instances details

Show Request # |
Instance details Defined in Network.HTTP.Semantics.Server.Internal Methods showsPrec :: Int -> Request -> ShowS # show :: Request -> String # showList :: [Request] -> ShowS #

newtype Response #

Response from server.

Constructors

Response OutObj |

#### Instances

Instances details

Show Response # |
Instance details Defined in Network.HTTP.Semantics.Server.Internal Methods showsPrec :: Int -> Response -> ShowS # show :: Response -> String # showList :: [Response] -> ShowS #

data Aux #

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`.