Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
getRequestBodyChunk :: Request -> IO ByteStringwai Network.Wai.Internal Get the next chunk of the body. Returns empty when the body is fully consumed.
requestBody :: Request -> IO ByteStringwai Network.Wai.Internal 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.Internal The size of the request body. In the case of a chunked request body, this may be unknown.
requestHeaderHost :: Request -> Maybe ByteStringwai Network.Wai.Internal The value of the Host header in a HTTP request.
requestHeaderRange :: Request -> Maybe ByteStringwai Network.Wai.Internal The value of the Range header in a HTTP request.
requestHeaderReferer :: Request -> Maybe ByteStringwai Network.Wai.Internal The value of the Referer header in a HTTP request.
requestHeaderUserAgent :: Request -> Maybe ByteStringwai Network.Wai.Internal The value of the User-Agent header in a HTTP request.
requestHeaders :: Request -> RequestHeaderswai Network.Wai.Internal A list of headers (a pair of key and value) in an HTTP request.
requestMethod :: Request -> Methodwai Network.Wai.Internal Request method such as GET.
requestSendEarlyHints :: Request -> ResponseHeaders -> IO ()wai Network.Wai.Internal Send a 103 Early Hints informational response carrying the given headers, ahead of the final response. This lets a client (typically over HTTP/2) start fetching resources named in Link headers while the final response is still being produced. A handler (e.g. Warp over HTTP/2) that supports early hints installs an action here; otherwise it is a no-op.