Interface HTTPResponse<DataType>

Represents a HTTP response.

Type Parameters

  • DataType = any

Hierarchy

  • HTTPResponse

Properties

Properties

text: string

The response body.

data: any

The response data, if any.

statusCode: number

The HTTP status code.

reason: string

Reason of the response, e.g. "ok" for 200.

Generated using TypeDoc