W3cubDocs

/Angular

JsonpClientBackend

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

API

class JsonpClientBackend implements HttpBackend {
  constructor(callbackMap: JsonpCallbackContext, document: any): JsonpClientBackend;
  handle(req: HttpRequest<never>): Observable<HttpEvent<any>>;
}

constructor

JsonpClientBackend
@paramcallbackMapJsonpCallbackContext
@paramdocumentany

handle

Observable<HttpEvent<any>>

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

@paramreqHttpRequest<never>

The request object.

@returnsObservable<HttpEvent<any>>

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/common/http/JsonpClientBackend