Spec-Zone.ru › Angular

HttpXhrBackend

Uses XMLHttpRequest to send requests to a backend server.

HttpHandlerJsonpClientBackend

API

class HttpXhrBackend implements HttpBackend {
  constructor(xhrFactory: XhrFactory): HttpXhrBackend;
  handle(req: HttpRequest<any>): Observable<HttpEvent<any>>;
}

constructor

HttpXhrBackend
@paramxhrFactoryXhrFactory
@returnsHttpXhrBackend

handle

Observable<HttpEvent<any>>

Processes a request and returns a stream of response events.

@paramreqHttpRequest<any>

The request object.

@returnsObservable<HttpEvent<any>>

An observable of the response events.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/common/http/HttpXhrBackend

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API