Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XhrResponse

Hierarchy

  • XhrResponse

Implements

Index

Constructors

constructor

Properties

isSuccessfulStatusCode

isSuccessfulStatusCode: boolean = this.xhr.status >= 200 && this.xhr.status <= 299

statusCode

statusCode: number = this.xhr.status

statusText

statusText: string = this.xhr.statusText

xhr

xhr: XMLHttpRequest

Accessors

body

  • get body(): any

Methods

ensureSuccessfulStatusCode

  • ensureSuccessfulStatusCode(): void

getHeaderValue

  • getHeaderValue(headerName: string): string | null

getHeaderValues

  • getHeaderValues(headerName: string): string[] | null

Generated using TypeDoc