Class: BaseResponse

BaseResponse()

new BaseResponse()

Source:

Members

ok

Returns whether the response has an ok'ish status code

Source:

status

Returns the status code of the response

Source:

Methods

(async) getData() → {ArrayBuffer}

Source:
Returns:

the response data of the request

Type
ArrayBuffer

getHeader(headerName) → {string}

Returns the value of the specified header

Parameters:
Name Type Description
headerName string

the header name

Source:
Returns:

the header value

Type
string