mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
feat(http): add support for new properties (#2135)
This commit is contained in:
parent
4497e00670
commit
c2a62cd3c8
@ -6,14 +6,18 @@ export interface HTTPResponse {
|
|||||||
* The status number of the response
|
* The status number of the response
|
||||||
*/
|
*/
|
||||||
status: number;
|
status: number;
|
||||||
/**
|
|
||||||
* The data that is in the response. This property usually exists when a promise returned by a request method resolves.
|
|
||||||
*/
|
|
||||||
data?: any;
|
|
||||||
/**
|
/**
|
||||||
* The headers of the response
|
* The headers of the response
|
||||||
*/
|
*/
|
||||||
headers: any;
|
headers: any;
|
||||||
|
/**
|
||||||
|
* The URL of the response. This property will be the final URL obtained after any redirects.
|
||||||
|
*/
|
||||||
|
url: string;
|
||||||
|
/**
|
||||||
|
* The data that is in the response. This property usually exists when a promise returned by a request method resolves.
|
||||||
|
*/
|
||||||
|
data?: any;
|
||||||
/**
|
/**
|
||||||
* Error response from the server. This property usually exists when a promise returned by a request method rejects.
|
* Error response from the server. This property usually exists when a promise returned by a request method rejects.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user