W3cubDocs

/Angular 12

JsonpClientBackend

class final

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

Provided in

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/common/http/JsonpClientBackend