Safe Haskell | None |
---|
- data T body = Cons {}
- toHTTPbis :: T body -> Request body
- fromHTTPbis :: Request body -> T body
- type Command = RequestMethod
- data RequestMethod
- data Connection
- data Expect = ExpectContinue
- pHeaders :: Monoid body => Parser (T body)
- getHost :: HasHeaders a => a -> Maybe (HostName, Maybe Int)
- getConnection :: HasHeaders a => a -> [Connection]
Documentation
fromHTTPbis :: Request body -> T bodySource
type Command = RequestMethodSource
data RequestMethod
The HTTP request method, to be used in the Request
object.
We are missing a few of the stranger methods, but these are
not really necessary until we add full TLS.
data Connection Source
getConnection :: HasHeaders a => a -> [Connection]Source