linkHttpBackend
| npm Package | @angular/common |
|---|---|
| Module | import { HttpBackend } from '@angular/common/http'; |
| Source | common/http/src/backend.ts |
linkOverview
class HttpBackend implements HttpHandler {
handle(req: HttpRequest<any>): Observable<HttpEvent<any>>
}
linkDescription
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.
linkSubclasses
linkMembers
handle(req: HttpRequest<any>): Observable<HttpEvent<any>>