[Modify] Replace it

This commit is contained in:
sta 2016-12-08 14:10:39 +09:00
parent 4f84497733
commit 0d8f419980

View File

@ -2684,11 +2684,7 @@ namespace WebSocketSharp
/// </returns>
public bool Ping ()
{
var bytes = _client
? WebSocketFrame.CreatePingFrame (true).ToArray ()
: WebSocketFrame.EmptyPingBytes;
return Ping (bytes, _waitTime);
return ping (EmptyBytes);
}
/// <summary>