Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setApacheUserGetter :: (Request -> Maybe ByteString) -> ApacheSettings -> ApacheSettings

    wai-extra Network.Wai.Middleware.RequestLogger

    Function that allows you to get the current user from the request, which will then be added in the log. Default: return no user

  2. setMaxLengthForRequest :: (Request -> IO (Maybe Word64)) -> RequestSizeLimitSettings -> RequestSizeLimitSettings

    wai-extra Network.Wai.Middleware.RequestSizeLimit

    Function to determine the maximum request size in bytes for the request. Return Nothing for no limit.

  3. setOnLengthExceeded :: (Word64 -> Middleware) -> RequestSizeLimitSettings -> RequestSizeLimitSettings

    wai-extra Network.Wai.Middleware.RequestSizeLimit

    Callback function when maximum length is exceeded. The Word64 argument is the limit computed by setMaxLengthForRequest.

  4. setMaxLengthForRequest :: (Request -> IO (Maybe Word64)) -> RequestSizeLimitSettings -> RequestSizeLimitSettings

    wai-extra Network.Wai.Middleware.RequestSizeLimit.Internal

    Function to determine the maximum request size in bytes for the request. Return Nothing for no limit.

  5. setOnLengthExceeded :: (Word64 -> Middleware) -> RequestSizeLimitSettings -> RequestSizeLimitSettings

    wai-extra Network.Wai.Middleware.RequestSizeLimit.Internal

    Callback function when maximum length is exceeded. The Word64 argument is the limit computed by setMaxLengthForRequest.

  6. setMaxHeaderLineLength :: Int -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum header line length per mime/multipart entry.

  7. setMaxHeaderLines :: Int -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum header lines per mime/multipart entry.

  8. setMaxRequestFileSize :: Int64 -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum filesize per file (in bytes).

  9. setMaxRequestFilesSize :: Int64 -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum size of all files per request.

  10. setMaxRequestKeyLength :: Int -> ParseRequestBodyOptions -> ParseRequestBodyOptions

    wai-extra Network.Wai.Parse

    Set the maximum length of a filename.

Page 192 of many | Previous | Next