예제 #1
0
 public virtual int Send(HTTPResponse r)
 {
     r.setAttribute("Server", configuration.name + " " + configuration.version);
     byte[] toSend = r.ToBytes();
     Send(toSend);
     return(toSend.Length);
 }
예제 #2
0
 public virtual int Send(HTTPResponse r)
 {
     r.setAttribute("Server", configuration.name + " " + configuration.version);
     byte[] toSend = r.ToBytes();
     Send(toSend);
     return toSend.Length;
 }