[Modify] Replace it
This commit is contained in:
parent
4f84497733
commit
0d8f419980
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user