You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package adds the intercepting capabilities to `http` module of Latest version of Angular, by extending the @angular/http class. For concept behind Interceptor, take a look at the [wiki](https://github.com/1tontech/x-ng4-http-interceptor/wiki/Concept)
9
+
This package adds the intercepting capabilities to `http` module of Latest version of Angular, by extending the @angular/http class. For concept behind Interceptor, take a look at the [wiki](https://github.com/1tontech/x-ng2-http-interceptor/wiki/Concept)
10
10
11
11
# Installation
12
12
13
13
To install, just run in your angular project:
14
14
15
15
```
16
-
npm install x-ng4-http-interceptor --save
16
+
npm install x-ng2-http-interceptor --save
17
17
```
18
18
19
19
And it should be importable with webpack out of the box
@@ -25,7 +25,7 @@ Interceptors are registered when the service is created (to avoid any race-condi
One that will get the request that's about to be sent to the server, and another that will get the response that the server just sent. For that, we just need to create a new class that implements Interceptor:
0 commit comments