• Overview
@angular/common/http

JsonpInterceptor

Class
stable

Identifies requests with the method JSONP and shifts them to the JsonpClientBackend.

API

    
      class JsonpInterceptor {}
    
    

intercept

Observable<HttpEvent<any>>

Identifies and handles a given JSONP request.

@paraminitialRequestHttpRequest<any>

The outgoing request object to handle.

@paramnextHttpHandler

The next interceptor in the chain, or the backend if no interceptors remain in the chain.

@returnsObservable<HttpEvent<any>>
Jump to details