JsonpClientBackend

class

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

Parameters

req

Type: HttpRequest.

Returns

Observable<HttpEvent<any>>

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/common/http/JsonpClientBackend