[Modify] Rename it

This commit is contained in:
sta 2016-02-05 15:11:41 +09:00
parent fccc4d8bec
commit efcf714a5f

View File

@ -294,7 +294,7 @@ namespace WebSocketSharp.Server
#region Private Methods
private string checkIfValidConnectionRequest (WebSocketContext context)
private string checkHandshakeRequest (WebSocketContext context)
{
return _originValidator != null && !_originValidator (context.Origin)
? "Includes no Origin header, or it has an invalid value."
@ -352,7 +352,7 @@ namespace WebSocketSharp.Server
_sessions = sessions;
_websocket = context.WebSocket;
_websocket.CustomHandshakeRequestChecker = checkIfValidConnectionRequest;
_websocket.CustomHandshakeRequestChecker = checkHandshakeRequest;
_websocket.EmitOnPing = _emitOnPing;
_websocket.IgnoreExtensions = _ignoreExtensions;
_websocket.Protocol = _protocol;