Ejemplo n.º 1
0
        public static THttpDown DoGet(string url, CallBackArg <THttpDown> callback, string contentType)
        {
            THttpDown hNHttpDwon = THttpDown.DoGet(url, callback);

            hNHttpDwon.SetContentType(contentType);
            return(hNHttpDwon);
        }
Ejemplo n.º 2
0
        public static THttpDown DoPost(string url, CallBackArg <THttpDown> callback, string contentType)
        {
            THttpDown hNHttpDwon = THttpDown.DoGet(url, callback);

            hNHttpDwon.SetContentType(contentType);
            hNHttpDwon.isGet          = false;
            hNHttpDwon.postParameters = new Dictionary <string, string>();
            return(hNHttpDwon);
        }