JSONPBackend

A ConnectionBackendthat uses the JSONP strategy of making requests.

弃用说明

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

interface JSONPBackend extends ConnectionBackend { createConnection(request: Request): JSONPConnection // 继承自 http/ConnectionBackend abstract createConnection(request: any): Connection }

方法

createConnection(request: Request): JSONPConnection

参数

request

Type: Request.

返回值

JSONPConnection