填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

JsonpInterceptor

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>>
}
    

方法

intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>
      
      intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>
    
参数
req HttpRequest
next HttpHandler
返回值

Observable<HttpEvent<any>>