| 51 | * interceptors provided in the root module. |
| 52 | */ |
| 53 | export interface HttpInterceptor { |
| 54 | /** |
| 55 | * Identifies and handles a given HTTP request. |
| 56 | * @param req The outgoing request object to handle. |
| 57 | * @param next The next interceptor in the chain, or the backend |
| 58 | * if no interceptors remain in the chain. |
| 59 | * @returns An observable of the event stream. |
| 60 | */ |
| 61 | intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * Represents the next interceptor in an interceptor chain, or the real backend if there are no |
no outgoing calls
no test coverage detected
searching dependent graphs…