public ISocketDelegate OnConnection(IServer server, ISocket socket) { // XXX freelist var txDel = new HttpServerTransactionDelegate(responseFactory, requestDelegate); var socketDelegate = new HttpServerSocketDelegate(txDel); socketDelegate.Start(socket); return socketDelegate; }
public ISocketDelegate OnConnection(IServer server, ISocket socket) { // XXX freelist var txDel = new HttpServerTransactionDelegate(socket.RemoteEndPoint.Address, responseFactory, requestDelegate); var socketDelegate = new HttpServerSocketDelegate(txDel); socketDelegate.Start(socket); return(socketDelegate); }
public ISocketDelegate OnConnection(IServer server, ISocket socket) { // XXX freelist var tx = new HttpServerTransaction(socket); var txDel = new HttpServerTransactionDelegate(requestDelegate); var socketDelegate = new HttpServerSocketDelegate(tx, txDel); return(socketDelegate); }