Request -> a +wai +http-types

isSecure :: Request -> Bool
wai Network.Wai
Was this request made over an SSL connection? This value should not be used, and will be removed in future revisions of WAI. There is no meaningful way that a backend can indicate whether the request is actually over a secure channel, due to issues of reverse proxying.
rawPathInfo :: Request -> ByteString
wai Network.Wai
Extra path information sent by the client. The meaning varies slightly depending on backend; in a standalone server setting, this is most likely all information after the domain name. In a CGI application, this would be the information following the path to the CGI executable itself. Do not modify this raw value- modify pathInfo instead.
rawQueryString :: Request -> ByteString
wai Network.Wai
If no query string was specified, this should be empty. This value will include the leading question mark. Do not modify this raw value- modify queryString instead.
serverName :: Request -> ByteString
wai Network.Wai
Generally the host requested by the user via the Host request header. Backends are free to provide alternative values as necessary. This value should not be used to construct URLs.
httpVersion :: Request -> HttpVersion
wai Network.Wai
serverPort :: Request -> Int
wai Network.Wai
The listening port that the server received this request on. It is possible for a server to listen on a non-numeric port (i.e., Unix named socket), in which case this value will be arbitrary. Like serverName, this value should not be used in URL construction.
requestBodyLength :: Request -> RequestBodyLength
wai Network.Wai
The size of the request body. In the case of a chunked request body, this may be unknown. Since 1.4.0
remoteHost :: Request -> SockAddr
wai Network.Wai
The client's host information.
requestMethod :: Request -> Method
wai Network.Wai
pathInfo :: Request -> [Text]
wai Network.Wai
Path info in individual pieces- the url without a hostname/port and without a query string, split on forward slashes,
vault :: Request -> Vault
wai Network.Wai
A location for arbitrary data to be shared by applications and middleware.
toQueryKey :: QueryKeyLike a => a -> ByteString
http-types Network.HTTP.Types.QueryLike
toQueryValue :: QueryValueLike a => a -> Maybe ByteString
http-types Network.HTTP.Types.QueryLike