• 概要
@angular/common/http

JsonpClientBackend

Class
stable

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>>
Jump to details