コード例 #1
0
        private bool IsGetRequest()
        {
            HTTPDataRequest req = this as HTTPDataRequest;

            if (req != null)
            {
                if (req.Method.Equals("GET", StringComparison.OrdinalIgnoreCase))
                {
                    return(true);
                }
            }

            return(false);
        }
コード例 #2
0
        public void ToWriter(DataWriter writer, DataKey root, Logger logger)
        {
            HTTPDataRequest resp = HTTPDataRequest.FromDataKey(root);

            resp.ToWriter(writer, logger);
        }
コード例 #3
0
        public void FromReader(DataReader reader, DataKey root, Logger logger)
        {
            HTTPDataRequest req = new HTTPDataRequest(reader, logger);

            req.ToDataKey(root);
        }
コード例 #4
0
        public void FromReader(DataReader reader, DataKey root, Logger logger)
        {
            HTTPDataRequest req = new HTTPDataRequest(reader, logger);

            req.ToDataKey(root);
        }