Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Response b = Response {}
- pattern Info :: Status -> b -> [Header] -> Response b
- pattern Success :: Status -> b -> [Header] -> Response b
- pattern Redirect :: Status -> b -> [Header] -> Response b
- pattern Client :: Status -> b -> [Header] -> Response b
- pattern Server :: Status -> b -> [Header] -> Response b
Documentation
The response produced by Http
.
pattern Info :: Status -> b -> [Header] -> Response b Source #
Match on a response with a 1xx status.
pattern Success :: Status -> b -> [Header] -> Response b Source #
Match on a response with a 2xx status.
pattern Redirect :: Status -> b -> [Header] -> Response b Source #
Match on a response with a 3xx status.