Click or drag to resize

WebSocketSessionManagerBroadping Method (String)

Note: This API is now obsolete.

Sends a ping with message to every client in the WebSocket service.

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
[ObsoleteAttribute("This method will be removed.")]
public Dictionary<string, bool> Broadping(
	string message
)

Parameters

message
Type: SystemString

A String that represents the message to send.

The size must be 125 bytes or less in UTF-8.

Return Value

Type: DictionaryString, Boolean

A Dictionary<string, bool>.

It represents a collection of pairs of a session ID and a value indicating whether a pong has been received from the client within a time.

Exceptions
ExceptionCondition
InvalidOperationException The current state of the manager is not Start.
ArgumentExceptionmessage could not be UTF-8-encoded.
ArgumentOutOfRangeException The size of message is greater than 125 bytes.
See Also