示例#1
0
        public void SetResponseHeader(int requestId, string name, string value)
        {
            ModMonoWorker worker = GetWorker(requestId) as ModMonoWorker;

            if (worker == null)
            {
                return;
            }
            worker.SetResponseHeader(name, value);
        }
示例#2
0
 public override void SendUnknownResponseHeader(string name, string value)
 {
     if (requestId == -1)
     {
         worker.SetResponseHeader(name, value);
     }
     else
     {
         requestBroker.SetResponseHeader(requestId, name, value);
     }
 }