JSONPConnection

JSONPConnection

Experimental Class

Class Overview

class JSONPConnection implements Connection {
  readyState : ReadyState
  request : Request
  response : Observable<Response>
  finished(data?: any) : void
}

Class Description

Abstract base class for an in-flight JSONP request.

Class Details

readyState : ReadyState

The ReadyState of this request.

request : Request

The outgoing HTTP request.

response : Observable<Response>

An observable that completes with the response, when the request is finished.

finished(data?: any) : void

Callback called when the JSONP request completes, to notify the application of the new data.

exported from @angular-http-index, defined in @angular/http/src/backends/jsonp_backend.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/http/index/JSONPConnection-class.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部