JsonpClientBackend

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


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

Observable<HttpEvent<any>>



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