Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

HttpBackend

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

See more...

      
      abstract class HttpBackend implements HttpHandler {
abstract handle(req: HttpRequest<any>): Observable<HttpEvent<any>> }

Description

Interceptors sit between the HttpClient interface and the HttpBackend.

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

Methods

      
      abstract handle(req: HttpRequest<any>): Observable<HttpEvent<any>>
    
Parameters
req HttpRequest<any>
Returns

Observable<HttpEvent<any>>