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.
strictRequestBody :: Request -> IO ByteStringwai Network.Wai Get the request body as a lazy ByteString. However, do not use any lazy I/O, instead reading the entire body into memory strictly. Note: Since this function consumes the request body, future calls to it will return the empty string.
-
wai Network.Wai.Internal Information on the request sent by the client. This abstracts away the details of the underlying implementation.
-
wai Network.Wai.Internal No documentation available.
-
wai Network.Wai.Internal The size of the request body. In the case of chunked bodies, the size will not be known.
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.