Spec-Zone.ru › Angular

JsonpClientBackend

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

HttpHandlerHttpXhrBackend

API

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

constructor

JsonpClientBackend
@paramcallbackMapJsonpCallbackContext
@paramdocumentany
@returnsJsonpClientBackend

handle

Observable<HttpEvent<any>>

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

@paramreqHttpRequest<never>

The request object.

@returnsObservable<HttpEvent<any>>

An observable of the response events.

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API