The error code if the X-Ably-Errorcode HTTP header is sent in the response.
The error message if the X-Ably-Errormessage HTTP header is sent in the response.
The headers of the response.
Contains the current page of results; for example, an array of Message or PresenceMessage objects for a channel history request.
The HTTP status code of the response.
Whether statusCode indicates success. This is equivalent to 200 <= statusCode < 300.
Returns the PaginatedResult for the current page of results.
A function which, upon success, will be fulfilled with a page of results for message and presence history, stats, and REST presence requests. Upon failure, the function will be called with information about the error.
Returns the PaginatedResult for the current page of results.
Returns a new PaginatedResult for the first page of results.
A function which, upon success, will be called with a page of results for message and presence history, stats, and REST presence requests. Upon failure, the function will be called with information about the error.
Returns a new PaginatedResult for the first page of results.
A promise which, upon success, will be fulfilled with a page of results for message and presence history, stats, and REST presence requests. Upon failure, the promise will be rejected with an ErrorInfo object which explains the error.
Returns a new PaginatedResult loaded with the next page of results. If there are no further pages, then null is returned.
A function which, upon success, will be fulfilled with a page of results for message and presence history, stats, and REST presence requests. Upon failure, the function will be called with information about the error.
Returns a new PaginatedResult loaded with the next page of results. If there are no further pages, then null is returned.
A promise which, upon success, will be fulfilled with a page of results for message and presence history, stats, and REST presence requests. Upon failure, the promise will be rejected with an ErrorInfo object which explains the error.
Generated using TypeDoc
A superset of PaginatedResult which represents a page of results plus metadata indicating the relative queries available to it.
HttpPaginatedResponseadditionally carries information about the response to an HTTP request.