JsonpInterceptor
From Get docs
< @angular/common | httpAngular/docs/7/api/common/http/jsonpinterceptor
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() | ||||||
---|---|---|---|---|---|---|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>Parameters
Returns
|
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/common/http/JsonpInterceptor