JSONPConnection
interface deprecated
Base class for an in-flight JSONP request.
Deprecated: see https://angular.io/guide/http
interface JSONPConnection extends Connection implements Connection {
readyState: ReadyState
request: Request
response: Observable<Response>
finished(data?: any)
// inherited from http/Connection
readyState: ReadyState
request: Request
response: any
} Properties
| Property | Description |
|---|---|
readyState: ReadyState | The |
request: Request | The outgoing HTTP request. |
response: Observable<Response> | An observable that completes with the response, when the request is finished. |
Methods
| finished() | |||
|---|---|---|---|
| Callback called when the JSONP request completes, to notify the application of the new data. | |||
|
data | any | Optional. Default is |
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/http/JSONPConnection