[Modify] Rename it

This commit is contained in:
sta 2016-02-03 15:31:39 +09:00
parent 008ccc3fec
commit 465dbb091a

View File

@ -672,7 +672,7 @@ namespace WebSocketSharp
throw new WebSocketException (CloseStatusCode.ProtocolError, msg);
}
if (!customCheckIfValidHandshakeRequest (_context, out msg)) {
if (!customCheckHandshakeRequest (_context, out msg)) {
sendHttpResponse (createHandshakeFailureResponse (HttpStatusCode.BadRequest));
throw new WebSocketException (CloseStatusCode.PolicyViolation, msg);
}
@ -982,7 +982,7 @@ namespace WebSocketSharp
}
// As server
private bool customCheckIfValidHandshakeRequest (WebSocketContext context, out string message)
private bool customCheckHandshakeRequest (WebSocketContext context, out string message)
{
message = null;
return _handshakeRequestChecker == null