JSONPConnection

export class JSONPConnection

exported from angular2/http defined in angular2/src/http/backends/jsonp_backend.ts (line 13)

Abstract base class for an in-flight JSONP request.

Members

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.