internal WebSocketResponse(int connId, bool asClient, ISendIO conn) { _connId = connId; _sendIO = conn; _asClient = asClient; if (asClient) { _rdForMask = new Random(); } }
internal HttpResponse(ISendIO sendIO) { _sendIO = sendIO; _bodyMs = new MemoryStream(); }