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

            hNHttpDwon.SetContentType(contentType);
            return(hNHttpDwon);
        }
Beispiel #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);
        }