Skip to content

Instantly share code, notes, and snippets.

@danielcrisp
Created July 25, 2017 13:30
Show Gist options
  • Save danielcrisp/44b14e1fd4daad81a5203beac51b600e to your computer and use it in GitHub Desktop.
Save danielcrisp/44b14e1fd4daad81a5203beac51b600e to your computer and use it in GitHub Desktop.
TokenInterceptor.intercept - Async HTTP Interceptors with Angular 4
intercept (request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
return next.handle(request);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment