Class ResponseMessage
A response message that will be returned by IInternalClient instances.
Constructors
ResponseMessage()
Declaration
RequestResponse
new ResponseMessage()Members
isSuccessStatusCode
Indicates if the response is successful.
Declaration
RequestResponse
isSuccessStatusCodeFunctions
build(statusCode, responseHeaders, optional)
Build a response message.
Declaration
RequestResponse
function build(statusCode, responseHeaders, optional)Parameters
| Type | Name | Description |
|---|---|---|
| statusCode |
HTTP status code | |
| responseHeaders |
Headers containing additional information sent by the server | |
| optional |
Object with more response properties (statusText, content, ...) |