• Overview
@angular/common/http

HttpBackend

Class

A final HttpHandler which will dispatch the request via browser HTTP APIs to a backend.

API

  
    abstract class HttpBackend implements HttpHandler {}
  
  

handle

Observable<HttpEvent<any>>
@paramreqHttpRequest<any>
@returnsObservable<HttpEvent<any>>

Description

A final HttpHandler which will dispatch the request via browser HTTP APIs to a backend.

Interceptors sit between the HttpClient interface and the HttpBackend.

When injected, HttpBackend dispatches requests directly to the backend, without going through the interceptor chain.

Jump to details