Safe Haskell | None |
---|
a very simple interface for acting as an HTTP client. This is mostly used for things like Happstack.Server.Proxy. You are more likely to want a library like http-enumerator http://hackage.haskell.org/package/http-enumerator.
- getResponse :: Request -> IO (Either String Response)
Documentation
getResponse :: Request -> IO (Either String Response)Source
Sends the serialized request to the host defined in the request and attempts to parse response upon arrival.