W3cubDocs

/Angular 10

JsonpClientBackend

class

Processes an HttpRequest with the JSONP method, by performing JSONP style requests.

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

See also

Methods

Processes a JSONP request and returns an event stream of the results.

handle(req: HttpRequest<never>): Observable<HttpEvent<any>>

Parameters
req HttpRequest

The request object.

Returns

Observable<HttpEvent<any>>: An observable of the response events.

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