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); }
public void Reply(Request req, string msg) { this.Send(req.Sender, req.ConnId, msg); }
public void Reply(Request req, ArraySegment<byte> msg) { this.Send(req.Sender, req.ConnId, msg.Array, msg.Offset, msg.Count); }
public void Reply(Request req, byte[] msg) { this.Send(req.Sender, req.ConnId, msg); }
public void Reply(Request req, byte[] msg, int offset, int length) { this.Send(req.Sender, req.ConnId, msg, offset, length); }