C-DEngine 5.105

WebSocketSessionManager..::..PingTo Method (String, String)

Sends a Ping with the specified message to the client on the session with the specified id.

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

Syntax


public bool PingTo(
	string message,
	string id
)
Public Function PingTo ( _
	message As String, _
	id As String _
) As Boolean
public:
bool^ PingTo(
	String^ message, 
	String^ id
)

Parameters

message
Type: String
A String that represents the message to send.
id
Type: String
A String that represents the ID of the session to find.

Return Value

true if the manager receives a Pong from the client in a time; otherwise, false.