示例#1
0
        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();
        }
示例#2
0
        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();
        }
示例#3
0
        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();
        }