logo
logo

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
Type Name Description
statusCode

HTTP status code

responseHeaders

Headers containing additional information sent by the server

optional

Object with more response properties (statusText, content, ...)

Can we improve this article ? Provide feedback