public WebSocketHandshake(WebSocketModule module, HttpListenerContext ctx) { WebSocketConnection connection = new WebSocketConnection(module, ctx); }
internal WebSocketMessageContext(byte[] data, WebSocketConnection connection, WebSocketModule module) { this.Data = data; this.Connection = connection; this.Module = module; }
internal WebSocketMessageContext(WebSocketReceiveBuffer dataBuffer, WebSocketConnection connection, WebSocketModule module) { this.Data = dataBuffer.Data.ToArray(); this.Connection = connection; this.Module = module; }