Katip.Wai.Response
data Response Source #
Response that was sent back to client.
Constructors
Fields
The HTTP status code of the response.
The headers in the response. Be careful not to log any sensntive headers.
The time server responded.
How long it took the server to respond.
Defined in Katip.Wai.Response
Methods
showsPrec :: Int -> Response -> ShowS #
show :: Response -> String #
showList :: [Response] -> ShowS #
(==) :: Response -> Response -> Bool #
(/=) :: Response -> Response -> Bool #
traceResponse :: MonadIO m => Request -> Response -> m Response Source #
Trace a response and time how long it took to process a request.