W3cubDocs

/RxJS

AjaxResponse

class stable

A normalized AJAX response.

class AjaxResponse {
  constructor(originalEvent: Event, xhr: XMLHttpRequest, request: AjaxRequest)
  status: [object Object]
  response: [object Object]
  responseText: [object Object]
  responseType: [object Object]
  originalEvent: Event
  xhr: XMLHttpRequest
  request: AjaxRequest
}

Constructor

constructor(originalEvent: Event, xhr: XMLHttpRequest, request: AjaxRequest)

Parameters

originalEvent

Type: Event.

xhr

Type: XMLHttpRequest.

request

Type: AjaxRequest.

Properties

Property Type Description
status [object Object]
response [object Object]
responseText [object Object]
responseType [object Object]
originalEvent Event Declared in constructor.
xhr XMLHttpRequest Declared in constructor.
request AjaxRequest Declared in constructor.

See Also

© 2015–2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/ajax/AjaxResponse