Click or drag to resize

WebSocketSend Method (String)

Sends the specified data using the WebSocket connection.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void Send(
	string data
)

Parameters

data
Type: SystemString
A String that represents the text data to send.
Exceptions
ExceptionCondition
InvalidOperationException The current state of the connection is not Open.
ArgumentNullExceptiondata is .
ArgumentExceptiondata could not be UTF-8-encoded.
See Also