JsonpInterceptor
Class
stable
Identifies requests with the method JSONP and
shifts them to the JsonpClientBackend.
API
class JsonpInterceptor { constructor(injector: EnvironmentInjector): JsonpInterceptor; intercept(initialRequest: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;}
constructor
JsonpInterceptor@returns
JsonpInterceptorintercept
Observable<HttpEvent<any>>Identifies and handles a given JSONP request.
@paramnext
HttpHandlerThe next interceptor in the chain, or the backend if no interceptors remain in the chain.
@returns
Observable<HttpEvent<any>>Jump to details