|
| Network.Protocol.OAuth.Request |
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| The HTTP request which must be properly authenticated with oauth. It is not meant to represent the full HTTP request, instead the data which matters for oauth authentication.
| | Constructors | | HTTP | | | ssl :: Bool | True means HTTPS and false means HTTP
| | method :: HTTPMethod | | | host :: String | The hostname or ip address (e.g. bitforest.org)
| | port :: Int | The tcp port (e.g. 80)
| | path :: String | The request path (e.g. /foo/bar/)
| | params :: [Parameter] | The request parameters (both GET and POST)
|
|
| Instances | |
|
|
|
| The possible HTTP methods
| | Constructors | | Instances | |
|
|
|
| A pair which represents a parameter (key,value).
|
|
| class PercentEncoding a where | Source |
|
| Refer to http://en.wikipedia.org/wiki/Percent-encoding for more information
| | | Methods | | | Encodes an a type to bytestring.
| | | | Encodes a list of a types into bytestring.
| | | | Decodes a single a type out of an encoded string.
| | | | Decodes the whole string into a list of a types.
|
| | Instances | |
|
|
|
| Convenience function to append an item in request's parameters list
|
|
|
| Applies a function to the request
|
|
|
| Show the entire url, including possibly any oauth parameter which may be present.
|
|
|
| The URL to perform the oauth request
|
|
|
| :: String | The realm
| | -> Request | | | -> ByteString | The Authorization/WWW-Authenticate header
| | The Authorization or WWW-Authenticated headers to perform oauth authentication.
|
|
|
|
| Produces a urlencoded string.
For convenience, it sorts the parameters first, as demands the oauth protocol.
|
|
|
| Parses a urlencoded string.
|
|
|
| Convenience operator to append an item in request's parameters list
|
|
|
| Applies a function to the request
|
|
| Produced by Haddock version 2.6.0 |