version 3.0.0 API Docs (#4943)
* Adds documentation and docs generation upon merge * nits
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
|
||||
/**
|
||||
* @typedef Parse.Cloud.HTTPResponse
|
||||
* @property {Buffer} buffer The raw byte representation of the response body. Use this to receive binary data. See Buffer for more details.
|
||||
* @property {Object} cookies The cookies sent by the server. The keys in this object are the names of the cookies. The values are Parse.Cloud.Cookie objects.
|
||||
* @property {Object} data The parsed response body as a JavaScript object. This is only available when the response Content-Type is application/x-www-form-urlencoded or application/json.
|
||||
* @property {Object} headers The headers sent by the server. The keys in this object are the names of the headers. We do not support multiple response headers with the same name. In the common case of Set-Cookie headers, please use the cookies field instead.
|
||||
* @property {Number} status The status code.
|
||||
* @property {String} text The raw text representation of the response body.
|
||||
*/
|
||||
export default class HTTPResponse {
|
||||
constructor(response, body) {
|
||||
let _text, _data;
|
||||
|
||||
Reference in New Issue
Block a user