On this page
HttpXhrBackend
class
An HttpBackend
which uses the XMLHttpRequest API to send requests to a backend server.
class HttpXhrBackend implements HttpBackend {
handle(req: HttpRequest<any>): Observable<HttpEvent<any>>
}
Methods
handle()
|
|||
---|---|---|---|
Process a request and return a stream of response events. |
|||
|
req |
HttpRequest |
Returns
Observable<HttpEvent<any>>
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/common/http/HttpXhrBackend