hoauth-0.2.0: A Haskell implementation of OAuth 1.0a protocol.

Network.OAuth.Http.Response

Description

The response of the server for a given Request. Similarly to Request, it is currently only able to represent HTTP responses.

Documentation

data Response Source

Constructors

RspHttp 

Fields

status :: Int

The status code (e.g. 200, 302)

statusLine :: String

The message that comes along with the status (e.g. HTTP/1.1 200 OK)

rspHeaders :: FieldList

The response headers

rspPayload :: ByteString

The body of the message

Instances