JsonpInterceptor

class

An HttpInterceptor which identifies requests with the method JSONP and shifts them to the JsonpClientBackend.

class JsonpInterceptor {
  intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>
}

Methods

intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>

Parameters
req HttpRequest
next HttpHandler
Returns

Observable<HttpEvent<any>>

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/common/http/JsonpInterceptor