Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
defaultGzipSettings :: GzipSettingswai-extra Network.Wai.Middleware.Gzip Default settings for the gzip middleware.
- Does not compress files.
- Uses defaultCheckMime.
- Compession threshold set to 860 bytes.
-
wai-extra Network.Wai.Middleware.HttpAuth Basic authentication settings. This value is an instance of IsString, so the recommended approach to create a value is to provide a string literal (which will be the realm) and then overriding individual fields.
"My Realm" { authIsProtected = someFunc } :: AuthSettings -
wai-extra Network.Wai.Middleware.RequestLogger Settings for the ApacheWithSettings OutputFormat. This is purposely kept as an abstract data type so that new settings can be added without breaking backwards compatibility. In order to create an ApacheSettings value, use defaultApacheSettings and the various 'setApache' functions to modify individual fields. For example:
setApacheIPAddrSource FromHeader defaultApacheSettings
ApacheWithSettings :: ApacheSettings -> OutputFormatwai-extra Network.Wai.Middleware.RequestLogger No documentation available.
-
wai-extra Network.Wai.Middleware.RequestLogger Settings for the Detailed OutputFormat. mModifyParams allows you to pass a function to hide confidential information (such as passwords) from the logs. If result is Nothing, then the parameter is hidden. For example: > myformat = Detailed True (Just hidePasswords) > where hidePasswords p@(k,v) = if k = "password" then (k, "***REDACTED***") else p mFilterRequests allows you to filter which requests are logged, based on the request and response.
-
wai-extra Network.Wai.Middleware.RequestLogger No documentation available.
DetailedWithSettings :: DetailedSettings -> OutputFormatwai-extra Network.Wai.Middleware.RequestLogger No documentation available.
-
wai-extra Network.Wai.Middleware.RequestLogger Settings for the request logger. Sets what which format, outputFormat, autoFlush, and destination are record fields for the record type RequestLoggerSettings, so they can be used to modify settings values using record syntax.
defaultApacheSettings :: ApacheSettingswai-extra Network.Wai.Middleware.RequestLogger No documentation available.
defaultDetailedSettings :: DetailedSettingswai-extra Network.Wai.Middleware.RequestLogger Default DetailedSettings Uses colors, but doesn't modify nor filter anything. Also doesn't prelog requests.