N
N
nuclear_kote2016-10-19 16:48:10
Angular
nuclear_kote, 2016-10-19 16:48:10

Is there a normal way to make an interceptor in Angular 2?

Or is the only way to inherit from Http and just inject new Http everywhere?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Lopatin, 2016-10-19
@lorus

It's better to inherit from ConnectionBackend . Or specifically from XHRBackend

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question