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