W3cubDocs

/Angular

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

Methods

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

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

Parameters
req HttpRequest<never>

The request object.

Returns

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

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