private bool IsGetRequest() { HTTPDataRequest req = this as HTTPDataRequest; if (req != null) { if (req.Method.Equals("GET", StringComparison.OrdinalIgnoreCase)) { return(true); } } return(false); }
public void ToWriter(DataWriter writer, DataKey root, Logger logger) { HTTPDataRequest resp = HTTPDataRequest.FromDataKey(root); resp.ToWriter(writer, logger); }
public void FromReader(DataReader reader, DataKey root, Logger logger) { HTTPDataRequest req = new HTTPDataRequest(reader, logger); req.ToDataKey(root); }