As you know it's possible to use Interceptors in new versions of Angular 4.
In mine, I want to cancel a request in interceptor in some conditions. So is it possible? Maybe what I should ask is: which way I should do that?
It'll also be OK if I find a way to rewrite some response to the request instead of canceling it.