NestJs - Interceptors [09]

NestJs - Interceptors [09]

2.885 Lượt nghe
NestJs - Interceptors [09]
We learn how we can intercept a request, and add logic BEFORE and AFTER getting a response from the route handlers. We learn different use cases in which providers could be useful, and more... Please like & subscribe ! Timestamps: ---------------------- 0:00 - Interceptors and their purpose 1:03 - Creating our custom interceptor 4:50 - Different ways of registering our custom interceptors 8:43 - Intercepeting the route handler response 14:00 - RxJs documentation and different operators 15:02- More interceptor use cases (caching, timeout, etc..) 17:40- Summary 19:44- Bonus Section (Request / response pipeline)