WebClient folder renamed to net and WebClient renamed to HttpClient

This commit is contained in:
Vladimir Enchev
2014-04-14 15:02:34 +03:00
parent f7b5c9af3e
commit 2cdad80094
8 changed files with 21 additions and 21 deletions

11
net/http_client.d.ts vendored Normal file
View File

@ -0,0 +1,11 @@
/**
* The Client interface.
*/
import image_module = require("Image/image");
export declare class HttpClient {
private static get(url: string, successCallback?: (result: any) => void, errorCallback?: (e: Error) => void)
getString(url: string, successCallback?: (result: string) => void, errorCallback?: (e: Error) => void)
getJSON(url: string, successCallback?: (result: Object) => void, errorCallback?: (e: Error) => void)
getImage(url: string, successCallback?: (result: image_module.Image) => void, errorCallback?: (e: Error) => void)
}