- Course
ng-conf '19: Black Holes and Angular Interceptors
Black Holes and Angular Interceptors | Luis Aviles
- Course
ng-conf '19: Black Holes and Angular Interceptors
Black Holes and Angular Interceptors | Luis Aviles
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Can you escape a black hole? Current science suggests that a black hole’s gravity is so strong that even light cannot escape once inside. In the same way, Angular provides Interceptors as a mechanism to “catch” outgoing requests or incoming responses. This feature can be really useful for some scenarios like adding an Authorization header to each request, logging or doing redirections according received Http Codes.