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