linkJsonpClientBackend
npm Package | @angular/common |
---|---|
Module | import { JsonpClientBackend } from '@angular/common/http'; |
Source | common/http/src/jsonp.ts |
linkOverview
class JsonpClientBackend implements HttpBackend {
constructor(callbackMap: JsonpCallbackContext, document: any)
handle(req: HttpRequest<never>): Observable<HttpEvent<any>>
}
linkDescription
HttpBackend
that only processes HttpRequest
with the JSONP method,
by performing JSONP style requests.
linkConstructor
linkMembers
handle(req: HttpRequest<never>): Observable<HttpEvent<any>>
Process a JSONP request and return an event stream of the results.
linkAnnotations
@Injectable()