Stability | beta |
---|---|
Maintainer | Ertugrul Soeylemez <es@ertes.de> |
Simple interface to the HTTP iteratees.
- data HttpConfig = HttpConfig {}
- defHttpConfig :: HttpConfig
- getRequest :: Monad m => HttpConfig -> Iteratee ByteString m Request
- getResponse :: Monad m => HttpConfig -> Iteratee ByteString m Response
Types
data HttpConfig Source
HTTP iteratees configuration.
HttpConfig | |
|
defHttpConfig :: HttpConfigSource
Default HTTP iteratee configuration. Other than in very special applications you should never need to change these defaults.
Iteratees
getRequest :: Monad m => HttpConfig -> Iteratee ByteString m RequestSource
Get the next full request from the given raw byte stream.
getResponse :: Monad m => HttpConfig -> Iteratee ByteString m ResponseSource
Get the next full response from the given raw byte stream.