SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
Sfs2X.WebSocketSharp.Server
WebSocketSessionManager Class
WebSocketSessionManager Methods
Broadcast Method
Broadcast Method (Byte[])
Broadcast Method (String)
Broadcast Method (Stream, Int32)
WebSocketSessionManager
Broadcast Method (
Byte
)
Sends
data
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#
Copy
public
void
Broadcast
(
byte
[]
data
)
Parameters
data
Type:
System
Byte
An array of
Byte
that represents the binary data to send.
Exceptions
Exception
Condition
InvalidOperationException
The current state of the manager is not Start.
ArgumentNullException
data
is
.
See Also
Reference
WebSocketSessionManager Class
Broadcast Overload
Sfs2X.WebSocketSharp.Server Namespace
Copyright gotoAndPlay() 2023