This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

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

Methods

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

Parameters

req

Type: HttpRequest.

Returns

Observable<HttpEvent<any>>