[This is preliminary documentation and is subject to change.]

If callHandlers is true, OnClientMessage handlers are called and if result is Normal data are sent to the client.

Namespace:  Phoenix
Assembly:  Phoenix (in Phoenix.dll) Version: 0.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void SendToServer(
	byte[] data,
	bool callHandlers
)
Public Shared Sub SendToServer ( _
	data As Byte(), _
	callHandlers As Boolean _
)
public:
static void SendToServer(
	array<unsigned char>^ data, 
	bool callHandlers
)

Parameters

data
array< Byte >[]()[]
Buffer to send.
callHandlers
Boolean
True if OnClientMessage handlers should be called; otherwise false.

Remarks

Message is not sent immediatly, instead it is queued and sent from client thread.

See Also