public void SendBody(byte[] buffer) { if (!HeadersSent) throw new InvalidOperationException("Send headers, and remember to specify ContentLength first."); _sent = true; _context.Send(buffer); }