public static void Post(AsynHttpContext context, byte[] reqBytes, Action <AsynHttpContext, Exception> callBack) { AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack); proxy.SendRequest(reqBytes); }
public static void Post(AsynHttpContext context, string reqStr, Action <AsynHttpContext, Exception> callBack) { AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack); proxy.SendRequest(Encoding.UTF8.GetBytes(reqStr)); }
public static void Get(AsynHttpContext context, Action <AsynHttpContext, Exception> callBack) { AysncHttpRequestHelperV2 proxy = new AysncHttpRequestHelperV2(context, callBack); proxy.SendRequest(); }