Safe Haskell | None |
---|---|
Language | Haskell2010 |
Requests processed by handlers.
Synopsis
- newtype Request = Request {}
- remoteHost :: Request -> SockAddr
- httpVersion :: Request -> HttpVersion
- isSecure :: Request -> Bool
- requestMethod :: Request -> Method
- pathInfo :: Request -> [Text]
- queryString :: Request -> Query
- requestHeader :: HeaderName -> Request -> Maybe ByteString
- requestHeaders :: Request -> RequestHeaders
- requestBodyLength :: Request -> RequestBodyLength
- getRequestBodyChunk :: Request -> IO ByteString
WebGear Request
A request processed by a handler
Request | |
|
Instances
remoteHost :: Request -> SockAddr Source #
See remoteHost
httpVersion :: Request -> HttpVersion Source #
See httpVersion
requestMethod :: Request -> Method Source #
See requestMethod
queryString :: Request -> Query Source #
See queryString
requestHeader :: HeaderName -> Request -> Maybe ByteString Source #
Get the value of a request header
requestHeaders :: Request -> RequestHeaders Source #
See requestHeaders