C-DEngine 5.105

WebSocket..::..SendAsync Method (String, Action<(Of <(<'Boolean>)>)>)

Sends text data asynchronously using the WebSocket connection.

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

Syntax


public void SendAsync(
	string data,
	Action<bool> completed
)
Public Sub SendAsync ( _
	data As String, _
	completed As Action(Of Boolean) _
)
public:
void SendAsync(
	String^ data, 
	Action<bool^>^ completed
)

Parameters

data
Type: String
A String that represents the text data to send.
completed
Type: Action<(Of <(<'Boolean>)>)>
An Action<bool> delegate that references the method(s) called when the send is complete. A Boolean passed to this delegate is true if the send is complete successfully.

Remarks


This method doesn't wait for the send to be complete.