Transforms an HttpRequest into a stream of HttpEvents, one of which will likely be a
HttpResponse.
HttpHandler is injectable. When injected, the handler instance dispatches requests to the
first interceptor in the chain, which dispatches to the second, etc, eventually reaching the
HttpBackend.
In an HttpInterceptor, the HttpHandler parameter is the next interceptor in the chain.
Transforms an
HttpRequest
into a stream ofHttpEvent
s, one of which will likely be aHttpResponse
.HttpHandler
is injectable. When injected, the handler instance dispatches requests to the first interceptor in the chain, which dispatches to the second, etc, eventually reaching theHttpBackend
.In an
HttpInterceptor
, theHttpHandler
parameter is the next interceptor in the chain.