示例#1
0
        public static void Post(AsynHttpContext context, byte[] reqBytes, Action <AsynHttpContext, Exception> callBack)
        {
            AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack);

            proxy.SendRequest(reqBytes);
        }
示例#2
0
        public static void Post(AsynHttpContext context, string reqStr, Action <AsynHttpContext, Exception> callBack)
        {
            AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack);

            proxy.SendRequest(Encoding.UTF8.GetBytes(reqStr));
        }
示例#3
0
        public static void Get(AsynHttpContext context, Action <AsynHttpContext, Exception> callBack)
        {
            AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack);

            proxy.SendRequest();
        }