Example #1
0
 public void ReplyHttp(Request req, ArraySegment<byte> body, int code, string status, IDictionary<string, string> headers)
 {
     var thingToSend = httpResponse(body, code, status, headers);
     this.Reply(req, thingToSend);
 }
Example #2
0
 public void Reply(Request req, string msg)
 {
     this.Send(req.Sender, req.ConnId, msg);
 }
Example #3
0
 public void Reply(Request req, ArraySegment<byte> msg)
 {
     this.Send(req.Sender, req.ConnId, msg.Array, msg.Offset, msg.Count);
 }
Example #4
0
 public void Reply(Request req, byte[] msg)
 {
     this.Send(req.Sender, req.ConnId, msg);
 }
Example #5
0
 public void Reply(Request req, byte[] msg, int offset, int length)
 {
     this.Send(req.Sender, req.ConnId, msg, offset, length);
 }