angular-httpclient-interceptors Questions

7

I'm learning angular through course and currently I'm learning about Interceptors. The angular version in the course isn't 17 but the one which I'm using in my local is. So, after 1st trying to imp...
Urinary asked 8/12, 2023 at 6:59

3

Solved

Can I use promise within HttpInterceptor? For example: export class AuthInterceptor implements HttpInterceptor{ this.someService.someFunction() .then((data)=>{ //do something with data and th...
1

© 2022 - 2024 — McMap. All rights reserved.