protected override void OnRequest(object sender, XmlRpcRequestEventArgs e) { string fname = string.Format("{0}/{1}-{2:0000}-request-{3}.xml", _directory, DateTime.Now.Ticks, e.RequestNum, e.ProxyID); FileStream fstm = new FileStream(fname, FileMode.Create); Util.CopyStream(e.RequestStream, fstm); fstm.Close(); }
protected virtual void OnRequest(object sender, XmlRpcRequestEventArgs e) { }
protected virtual void OnRequest(XmlRpcRequestEventArgs e) { if (RequestEvent != null) { RequestEvent(this, e); } }
protected override void OnRequest(object sender, XmlRpcRequestEventArgs e) { DumpStream(e.RequestStream); }