Fix for issue #76, modified the access level of the WaitTime property of the WebSocket class to the public

This commit is contained in:
sta
2014-09-29 14:30:38 +09:00
parent e21e35c768
commit aab7ef5a55
2 changed files with 35 additions and 14 deletions

View File

@@ -317,7 +317,10 @@ namespace WebSocketSharp.Server
_websocket = context.WebSocket;
_websocket.CustomHandshakeRequestChecker = checkIfValidConnectionRequest;
_websocket.Protocol = _protocol;
_websocket.WaitTime = sessions.WaitTime;
var waitTime = sessions.WaitTime;
if (waitTime != _websocket.WaitTime)
_websocket.WaitTime = waitTime;
_websocket.OnOpen += onOpen;
_websocket.OnMessage += onMessage;