Exemplo n.º 1
0
        public static void Post(AsynHttpContext context, byte[] reqBytes, Action <AsynHttpContext, Exception> callBack)
        {
            AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack);

            proxy.SendRequest(reqBytes);
        }
Exemplo n.º 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));
        }
Exemplo n.º 3
0
        public static void Get(AsynHttpContext context, Action <AsynHttpContext, Exception> callBack)
        {
            AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack);

            proxy.SendRequest();
        }