Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
modifyRequest :: (Request -> Request) -> Middlewarewai Network.Wai Apply a function that modifies a request as a Middleware
requestBody :: Request -> IO ByteStringwai Network.Wai Deprecated: requestBody's name is misleading because it only gets a partial chunk of the body. Use getRequestBodyChunk instead when getting the field, and setRequestBodyChunks when setting the field.
requestBodyLength :: Request -> RequestBodyLengthwai Network.Wai The size of the request body. In the case of a chunked request body, this may be unknown.
requestHeaderHost :: Request -> Maybe ByteStringwai Network.Wai The value of the Host header in a HTTP request.
requestHeaderRange :: Request -> Maybe ByteStringwai Network.Wai The value of the Range header in a HTTP request.
requestHeaderReferer :: Request -> Maybe ByteStringwai Network.Wai The value of the Referer header in a HTTP request.
requestHeaderUserAgent :: Request -> Maybe ByteStringwai Network.Wai The value of the User-Agent header in a HTTP request.
requestHeaders :: Request -> RequestHeaderswai Network.Wai A list of headers (a pair of key and value) in an HTTP request.
requestMethod :: Request -> Methodwai Network.Wai Request method such as GET.
setRequestBodyChunks :: IO ByteString -> Request -> Requestwai Network.Wai Set the requestBody attribute on a request without triggering a deprecation warning. The supplied IO action should return the next chunk of the body each time it is called and empty when it has been fully consumed.