Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. setHeaderMap :: HeaderMap -> CombineSettings -> CombineSettings

    wai-extra Network.Wai.Middleware.CombineHeaders

    Override the HeaderMap of the CombineSettings (default: defaultHeaderMap)

  2. setRequestHeaders :: Bool -> CombineSettings -> CombineSettings

    wai-extra Network.Wai.Middleware.CombineHeaders

    Set whether the combining of headers should be applied to the incoming request headers. (default: True)

  3. setResponseHeaders :: Bool -> CombineSettings -> CombineSettings

    wai-extra Network.Wai.Middleware.CombineHeaders

    Set whether the combining of headers should be applied to the outgoing response headers. (default: False)

  4. setApacheIPAddrSource :: IPAddrSource -> ApacheSettings -> ApacheSettings

    wai-extra Network.Wai.Middleware.RequestLogger

    Where to take IP addresses for clients from. See IPAddrSource for more information. Default value: FromSocket

  5. setApacheRequestFilter :: (Request -> Response -> Bool) -> ApacheSettings -> ApacheSettings

    wai-extra Network.Wai.Middleware.RequestLogger

    Function that allows you to filter which requests are logged, based on the request and response Default: log all requests

  6. 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

  7. 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.

  8. 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.

  9. 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.

  10. 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.

Page 207 of many | Previous | Next