C-DEngine 5.105

WebSocket..::..Ping Method (String)

Sends a ping with the specified message using the WebSocket connection.

Namespace:  WebSocketSharp
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public bool Ping(
	string message
)
Public Function Ping ( _
	message As String _
) As Boolean
public:
bool^ Ping(
	String^ message
)

Parameters

message
Type: String
A String that represents the message to send.

Return Value

true if the WebSocket receives a pong to this ping in a time; otherwise, false.