Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc