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.

  1. clearMaxRequestParmsSize :: ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Do not limit the maximum size of the sum of all parameters.

  2. defaultParseRequestBodyOptions :: ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    A reasonable default set of parsing options. Maximum key/filename length: 32 bytes; maximum files: 10; filesize unlimited; maximum size for parameters: 64kbytes; maximum number of header lines: 32 bytes (applies only to headers of a mime/multipart message); maximum header line length: Apache's default for that is 8190 bytes (http:/httpd.apache.orgdocs2.2mod/core.html#limitrequestline) so we're using that here as well.

  3. getRequestBodyType :: Request -> Maybe RequestBodyType

    wai-extra Network.Wai.Parse

    Get the mimetype of the body of an http request.

  4. noLimitParseRequestBodyOptions :: ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Do not impose any memory limits.

  5. parseRequestBody :: BackEnd y -> Request -> IO ([Param], [File y])

    wai-extra Network.Wai.Parse

    Parse the body of an HTTP request. See parseRequestBodyEx for details. Note: This function does not limit the memory it allocates. When dealing with untrusted data (as is usually the case when receiving input from the internet), it is recommended to use the parseRequestBodyEx function instead. since 3.1.15 : throws RequestParseException if something goes wrong

  6. parseRequestBodyEx :: ParseRequestBodyOptions -> BackEnd y -> Request -> IO ([Param], [File y])

    wai-extra Network.Wai.Parse

    Parse the body of an HTTP request, limit resource usage. The HTTP body can contain both parameters and files. This function will return a list of key,value pairs for all parameters, and a list of key,a pairs for filenames. The a depends on the used backend that is responsible for storing the received files. since 3.1.15 : throws RequestParseException if something goes wrong

  7. setMaxRequestFileSize :: Int64 -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum filesize per file (in bytes).

  8. setMaxRequestFilesSize :: Int64 -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum size of all files per request.

  9. setMaxRequestKeyLength :: Int -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum length of a filename.

  10. setMaxRequestNumFiles :: Int -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum number of files per request.

Page 236 of many | Previous | Next