1. Javascript SDK

Class ResponseMessage

A response message that will be returned by IInternalClient instances.

Constructors

ResponseMessage()

Declaration

new ResponseMessage()

Members

isSuccessStatusCode

Indicates if the response is successful.

Declaration

isSuccessStatusCode

Functions

build(statusCode, responseHeaders, optional)

Build a response message.

Declaration

function build(statusCode, responseHeaders, optional)

Parameters

TypeNameDescription
statusCodeHTTP status code
responseHeadersHeaders containing additional information sent by the server
optionalObject with more response properties (statusText, content, ...)
If you have suggestions for improving this article, let us know!