Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
eventId :: ServerEvent -> Maybe Builderwai-extra Network.Wai.EventSource.EventStream No documentation available.
module Network.Wai.Middleware.
AcceptOverride No documentation available.
-
wai-extra Network.Wai.Middleware.AcceptOverride No documentation available.
approotMiddleware :: (Request -> IO ByteString) -> Middlewarewai-extra Network.Wai.Middleware.Approot The most generic version of the middleware, allowing you to provide a function to get the approot for each request. For many use cases, one of the helper functions provided by this module will give the necessary functionality more conveniently. Since 3.0.7
voidEndpoint :: ByteString -> Middlewarewai-extra Network.Wai.Middleware.HealthCheckEndpoint Add empty endpoint
module Network.Wai.Middleware.
MethodOverride No documentation available.
-
wai-extra Network.Wai.Middleware.MethodOverride Overriding of HTTP request method via _method query string parameter. This middleware only applies when the initial request method is POST. Allows submitting of normal HTML forms, without worries of semantic mismatches with the HTTP spec.
module Network.Wai.Middleware.
MethodOverridePost Changes the request-method via first post-parameter _method.
methodOverridePost :: Middlewarewai-extra Network.Wai.Middleware.MethodOverridePost Allows overriding of the HTTP request method via the _method post string parameter.
- Looks for the Content-Type requestHeader.
- If the header is set to application/x-www-form-urlencoded and the first POST parameter is _method then it changes the request-method to the value of that parameter.
- This middleware only applies when the initial request method is POST.
requestSizeLimitMiddleware :: RequestSizeLimitSettings -> Middlewarewai-extra Network.Wai.Middleware.RequestSizeLimit Middleware to limit request bodies to a certain size. This uses requestSizeCheck under the hood; see that function for details.