Ejemplo n.º 1
0
 public WebSocketUpgradeResponse HandleUpgradeRequest(IWebSocketUpgradeRequest upgradeRequest)
 {
     return(upgradeRequest.AcceptUpgrade(session => Task.Run(() => HandleWebSocketSession(session))));
 }
Ejemplo n.º 2
0
 public WebSocketUpgradeResponse HandleUpgradeRequest(IWebSocketUpgradeRequest upgradeRequest)
 {
     return upgradeRequest.AcceptUpgrade(session => Task.Run(() => HandleWebSocketSession(session)));
 }