W3cubDocs

/Angular 7

JSONPBackend

interface deprecated

A ConnectionBackend that uses the JSONP strategy of making requests.

Deprecated: see https://angular.io/guide/http

interface JSONPBackend extends ConnectionBackend {
  createConnection(request: Request): JSONPConnection

  // inherited from http/ConnectionBackend
  abstract createConnection(request: any): Connection
}

Methods

createConnection(request: Request): JSONPConnection

Parameters
request Request
Returns

JSONPConnection

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