Safe Haskell | None |
---|
- intercept :: ServerApp -> Request -> Maybe (Source (ResourceT IO) ByteString -> Connection -> ResourceT IO ())
- interceptWith :: ConnectionOptions -> ServerApp -> Request -> Maybe (Source (ResourceT IO) ByteString -> Connection -> ResourceT IO ())
Documentation
intercept :: ServerApp -> Request -> Maybe (Source (ResourceT IO) ByteString -> Connection -> ResourceT IO ())Source
For use with settingsIntercept
from the Warp web server.
interceptWith :: ConnectionOptions -> ServerApp -> Request -> Maybe (Source (ResourceT IO) ByteString -> Connection -> ResourceT IO ())Source
Variation of intercept
which allows custom options.