Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- addResponseHeader :: Monad m => Header -> Webmachine m ()
- modifyResponseHeaders :: Monad m => (ResponseHeaders -> ResponseHeaders) -> Webmachine m ()
Documentation
addResponseHeader :: Monad m => Header -> Webmachine m () Source #
Adds a given Header
to this handler's ResponseState
.
modifyResponseHeaders :: Monad m => (ResponseHeaders -> ResponseHeaders) -> Webmachine m () Source #
Applies the given function to the ResponseHeaders
present in this handlers ResponseState
.