(protected) new Request(chatter, params)
A class representing chatter API request
Parameters:
Name | Type | Description |
---|---|---|
chatter |
Chatter | Chatter API object |
params |
Chatter~RequestParams | Paramters representing HTTP request |
- Implements:
- Source:
Methods
batchParams() → {Chatter~BatchRequestParams}
Retrieve parameters in batch request form
- Source:
Returns:
promise() → {Promise.<Chatter~RequestResult>}
Retrieve parameters in batch request form
- Source:
Returns:
- Type
- Promise.<Chatter~RequestResult>
stream() → {stream.Stream}
Returns Node.js Stream object for request
- Source:
Returns:
- Type
- stream.Stream
then()
Promise/A+ interface
http://promises-aplus.github.io/promises-spec/
Delegate to deferred promise, return promise instance for batch result
- Source:
thenCall()
Promise/A+ extension
Call "then" using given node-style callback function
- Source: