JsonpClientBackend

HttpBackend that only processes HttpRequest with the JSONP method, by performing JSONP style requests.

      
      class JsonpClientBackend implements HttpBackend {
  handle(req: HttpRequest<never>): Observable<HttpEvent<any>>
}
    

方法

Process a JSONP request and return an event stream of the results.

handle(req: HttpRequest<never>): Observable<HttpEvent<any>>
      
      handle(req: HttpRequest<never>): Observable<HttpEvent<any>>
    
参数
req HttpRequest
返回值

Observable<HttpEvent<any>>