public void ActiveHttp(NewHttpResponse client, Dictionary <string, string> parms) { JsonResult receipt = verifyDeliver(parms); string responseData = HttpUtility.UrlEncode(MathUtils.ToJson(receipt)); client.OutputStream.WriteLine(responseData); client.Close(); }
public void ActiveHttp(NewHttpResponse client, Dictionary <string, string> parms) { PostParameter receipt = verifyDeliver(parms); string responseData = HttpUtility.UrlEncode(receipt.param); client.OutputStream.WriteLine(responseData); client.Close(); }
public void ActiveHttp(NewHttpResponse client, Dictionary <string, string> parms) { MessageStructure receipt = verifyDeliver(parms); //string buffer = Encoding.UTF8.GetString(); string buffer = Convert.ToBase64String(receipt.PopBuffer()); client.OutputStream.WriteLine(buffer); client.Close(); }