[Modify] Replace it
This commit is contained in:
parent
4f84497733
commit
0d8f419980
@ -2684,11 +2684,7 @@ namespace WebSocketSharp
|
|||||||
/// </returns>
|
/// </returns>
|
||||||
public bool Ping ()
|
public bool Ping ()
|
||||||
{
|
{
|
||||||
var bytes = _client
|
return ping (EmptyBytes);
|
||||||
? WebSocketFrame.CreatePingFrame (true).ToArray ()
|
|
||||||
: WebSocketFrame.EmptyPingBytes;
|
|
||||||
|
|
||||||
return Ping (bytes, _waitTime);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user