Creates a KoauthRequest object based on the HTTP method, the URL and the, the Authorization header, HTTP body if application/x-www-form-urlencoded is the Content-Type.
Creates a KoauthRequest object based on the HTTP method, the URL and the, the Authorization header, HTTP body if application/x-www-form-urlencoded is the Content-Type.
Is able to parse both URL and body and Authorization header and extract parameters.
HTTP method e.g. GET
URL e.g. https://api.twitter.com/1.1/statuses/user_timeline.json?count=1&include_rts=1#noonecares
header named Authorization e.g. OAuth oauth_callback="...", oauth_consumer_key="...
the parameters in the body if the Content-Type is application/x-www-form-urlencoded e.g status=true&day=today
A built up KoauthRequest object
Creates a KoauthRequest object based on the HTTP method, the URL and the, HTTP body if application/x-www-form-urlencoded is the Content-Type.
Creates a KoauthRequest object based on the HTTP method, the URL and the, HTTP body if application/x-www-form-urlencoded is the Content-Type.
Is able to parse both URL and body, and extract parameters.
HTTP method e.g. GET
URL e.g. https://api.twitter.com/1.1/statuses/user_timeline.json?count=1&include_rts=1#noonecares
the parameters in the body if the Content-Type is application/x-www-form-urlencoded e.g status=true&day=today
A built up KoauthRequest object
Copies a KoauthRequest object.
Copies a KoauthRequest object. Only the OAuth parameters have to be supplied. Those will be overwritten.
the already existing KoauthRequest to be copied
the parameters needed specifically for OAuth e.g. List(("oauth_token", "abc"), ...)
A built up KoauthRequest object
Creates a KoauthRequest object specifying the HTTP method, URL without URL parameters separately, the URL parameters, the HTTP body application/x-www-form-urlencoded parameters if any and if that's the Content-Type, and the Authorization header.
Creates a KoauthRequest object specifying the HTTP method, URL without URL parameters separately, the URL parameters, the HTTP body application/x-www-form-urlencoded parameters if any and if that's the Content-Type, and the Authorization header.
Is able to parse a string in the format of an Authorization header and extract the Oauth parameters from there.
HTTP method e.g. GET
URL without URL parameters e.g. https://api.twitter.com/1.1/statuses/user_timeline.json
A string in the format of an OAuth Authorization header.
the parameters in the URL e.g. List(("count", "1"), ("include_rts", "1"))
the parameters in the body if the Content-Type is application/x-www-form-urlencoded
A built up KoauthRequest object
Creates a KoauthRequest object specifying the HTTP method, URL without URL parameters separately, the URL parameters, the HTTP body application/x-www-form-urlencoded parameters if any and if that's the Content-Type, and the OAuth parameters.
Creates a KoauthRequest object specifying the HTTP method, URL without URL parameters separately, the URL parameters, the HTTP body application/x-www-form-urlencoded parameters if any and if that's the Content-Type, and the OAuth parameters.
The most explicit creation method.
HTTP method e.g. GET
URL without URL parameters e.g. https://api.twitter.com/1.1/statuses/user_timeline.json
the parameters in the URL e.g. List(("count", "1"), ("include_rts", "1"))
the parameters in the body if the Content-Type is application/x-www-form-urlencoded
the parameters needed specifically for OAuth e.g. List(("oauth_token", "abc"), ...)
A built up KoauthRequest object