Skip to content

Glossary: Angular Beyond the Basics

Interceptor

Also written: HTTP interceptor, interceptors

A function that sees every HTTP request and reply from `HttpClient` and `httpResource`. Kettle & Crane uses one to add the token and another to handle errors.

Where the book teaches it

Related terms

HttpInterceptorFnclone (req.clone)throwError