|
|
|
|
@ -240,16 +240,6 @@ namespace WebSocketSharp.Net
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
internal HttpListenerWebSocketContext GetWebSocketContext ()
|
|
|
|
|
{
|
|
|
|
|
if (_websocketContext != null)
|
|
|
|
|
return _websocketContext;
|
|
|
|
|
|
|
|
|
|
_websocketContext = new HttpListenerWebSocketContext (this, null);
|
|
|
|
|
|
|
|
|
|
return _websocketContext;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
internal HttpListenerWebSocketContext GetWebSocketContext (string protocol)
|
|
|
|
|
{
|
|
|
|
|
_websocketContext = new HttpListenerWebSocketContext (this, protocol);
|
|
|
|
|
|