public ClientConnection(Socket socket, AsynchronousServer.Server server, ServerConfiguration configuration, Dictionary <string, IWebSocketService> webSocketServices, HTTPRequest request) : this(socket, server, configuration, webSocketServices) { this.request = request; }
public Server(ServerConfiguration configuration) { this.configuration = configuration; server = new AsynchronousServer.Server(configuration, (handler, s) => { return(new ClientConnection(handler, s, configuration, webSocketServices)); }); }
public Server(ServerConfiguration configuration) { this.configuration = configuration; server = new AsynchronousServer.Server(configuration, (handler, s) => { return new ClientConnection(handler, s, configuration, webSocketServices); }); }
public Server(ServerConfiguration configuration) { this.configuration = configuration; server = new AsynchronousServer.Server(configuration, (handler, s) => { return(new ClientConnection(handler, this, configuration)); }); requestChainOfResponsibility.Add(new FallBackRequestResponsibility()); }
public Server(ServerConfiguration configuration) { this.configuration = configuration; server = new AsynchronousServer.Server(configuration, (handler, s) => { return new ClientConnection(handler, this, configuration); }); requestChainOfResponsibility.Add(new FallBackRequestResponsibility()); }
public ClientConnection(Socket socket, AsynchronousServer.Server server, ServerConfiguration configuration, Dictionary <string, IWebSocketService> webSocketServices) : base(socket, server) { this.configuration = configuration; this.server = server; this.webSocketServices = webSocketServices; data = new List <byte>(); frame = new WebSocketFrame(); request = new HTTPRequest(); ConnectionRead += StatefulWebSocketHandShake; }
public ClientConnection(Socket socket, AsynchronousServer.Server server, ServerConfiguration configuration, Dictionary<string, IWebSocketService> webSocketServices) : base(socket, server) { this.configuration = configuration; this.server = server; this.webSocketServices = webSocketServices; data = new List<byte>(); frame = new WebSocketFrame(); request = new HTTPRequest(); ConnectionRead += StatefulWebSocketHandShake; }