- Source:
Methods
(static) digestAuthRequest()
Modification of digest auth request by @inorganik.
Dependent on CryptoJS MD5 hashing: http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js
MIT licensed.
- Source:
(async, static) request(request) → {object|string|object|Uint8Array|number|String|object}
Make a HTTP request.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
object | configures the request to make
Properties
|
- Source:
Returns:
-
response - the response object
- Type
- object
-
response.body - the response body
- Type
- string | object | Uint8Array
-
response.statusCode - the response code
- Type
- number
-
response.statusText - the response message
- Type
- String
-
response.headers - the response headers
- Type
- object