Class ResponseMessage

Current version: 4.0

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
isSuccessStatusCode

Functions

build(statusCode, responseHeaders, optional)

Build a response message.

Declaration
RequestResponse
function build(statusCode, responseHeaders, optional)
Parameters
TypeNameDescription
statusCode

HTTP status code

responseHeaders

Headers containing additional information sent by the server

optional

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

Do you have some feedback for us?

If you have suggestions for improving this article,