JsonpClientBackend

From Get docs
< @angular/common‎ | httpAngular/docs/11/api/common/http/jsonpclientbackend


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

  • HttpHandler
  • HttpXhrBackend

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://v11.angular.io/api/common/http/JsonpClientBackend