Uses XMLHttpRequest to send requests to a backend server.
API
class HttpXhrBackend implements HttpBackend {
constructor(xhrFactory: XhrFactory): HttpXhrBackend;
handle(req: HttpRequest<any>): Observable<HttpEvent<any>>;
}
constructor
HttpXhrBackend
@paramxhrFactory
XhrFactory
@returns
HttpXhrBackend