mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
http client reworked (temporary getString, getJSON and getImage in separate file)
This commit is contained in:
23
declarations.android.d.ts
vendored
23
declarations.android.d.ts
vendored
@@ -346,7 +346,8 @@ declare module com {
|
||||
|
||||
export module ion {
|
||||
export class Ion {
|
||||
static with(context: any, url : string) : any;
|
||||
static with(context: any, url: string): any;
|
||||
static getDefault(context: any): any;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -356,6 +357,26 @@ declare module com {
|
||||
constructor(context: any);
|
||||
}
|
||||
}
|
||||
|
||||
export module http {
|
||||
|
||||
export module libcore {
|
||||
export class RawHeaders {
|
||||
constructor();
|
||||
add(name: string, v: string);
|
||||
}
|
||||
}
|
||||
|
||||
export class AsyncHttpClient {
|
||||
static getDefaultInstance(): any;
|
||||
}
|
||||
|
||||
export module callback {
|
||||
export class HttpConnectCallback {
|
||||
constructor(params: any);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user