コード例 #1
0
        public void ProcessRequest(HttpContext context)
        {
            System.Collections.Generic.Dictionary <string, string> content = ContentParser.FromURL(context);

            // Start handling
            TokenHandle       handler = new TokenHandle(content, "prop");
            TokenHandleResult result  = handler.HandleResult;

            context.Response.ContentType = "application/json";
            context.Response.Write(result.ToString());
            context.Response.StatusCode = Convert.ToInt32(result.StatusCode);
        }