Exemplo n.º 1
0
        public void ServiceAbout(string service)
        {
            ResponseString wrapper = new ResponseString();
            wrapper.message = "Success";
            wrapper.error = 0;
            wrapper.action = service;
            wrapper.info.Add("path", path);
            wrapper.info.Add("path_info", path_info);
            wrapper.info.Add("qstring", qstring);
            wrapper.info.Add("action", action);
            wrapper.info.Add("action_params", action_params);

            // get data
            wrapper.data = "Hi! I am platform service, and I am reporting for service...";

            util.SerializeTypeJSONToResponse(_context, wrapper);
        }
Exemplo n.º 2
0
        public void ServiceAbout(string service)
        {
            ResponseString wrapper = new ResponseString();

            wrapper.message = "Success";
            wrapper.error   = 0;
            wrapper.action  = service;
            wrapper.info.Add("path", path);
            wrapper.info.Add("path_info", path_info);
            wrapper.info.Add("qstring", qstring);
            wrapper.info.Add("action", action);
            wrapper.info.Add("action_params", action_params);

            // get data
            wrapper.data = "Hi! I am platform service, and I am reporting for service...";

            util.SerializeTypeJSONToResponse(_context, wrapper);
        }