Network.Salvia.Handler.Environment
Documentation
Arguments
| :: (MonadIO m, HandleM m, RawHttpM' m, HttpM' m, QueueM m, SendM m, FlushM Response m) | |
| => m () | Handler to run in the default environment. |
| -> m () |
This is the default handler environment. It takes care of request parsing
(hRequestParser), response printing (hResponsePrinter), connection
keep-alives (hKeepAlive), handling HEAD requests (hHead) and printing the
`salvia-httpd` server banner (hBanner).