Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HTTPResponse

HTTPResponse objects are returned by calls to HTTP methods. For usage details, see HTTP object.

Hierarchy

  • HTTPResponse

Index

Properties

error

error: string | undefined

If an error occurred, a description of the type of error.

otherData

otherData: string | undefined

Some responses return additional data that is placed in this field.

responseData

responseData: any

The raw data returned. Typically an object or array of objects, but exact content varies by server response.

responseText

responseText: string

The data returned as a string format.

statusCode

statusCode: number

The HTTP status code (like 200, 301, etc.) returned.

success

success: boolean

true/false for whether the request was completed successfully.

Generated using TypeDoc