Mirror::SimpleWeb::SimpleWebServer
Public Events
Public Functions
Public Properties
Public Events Documentation
event onConnect
Action< int > onConnect()
event onDisconnect
Action< int > onDisconnect()
event onData
Action< int, ArraySegment< byte > > onData()
event onError
Action< int, Exception > onError()
Public Functions Documentation
function SimpleWebServer
inline SimpleWebServer(
int maxMessagesPerTick,
TcpConfig tcpConfig,
int maxMessageSize,
int handshakeMaxSize,
SslConfig sslConfig
)
function Start
inline void Start(
ushort port
)
function Stop
function SendAll
inline void SendAll(
List< int > connectionIds,
ArraySegment< byte > source
)
function SendOne
inline void SendOne(
int connectionId,
ArraySegment< byte > source
)
function KickClient
inline bool KickClient(
int connectionId
)
function GetClientAddress
inline string GetClientAddress(
int connectionId
)
function ProcessMessageQueue
inline void ProcessMessageQueue(
MonoBehaviour behaviour
)
Public Property Documentation
property Active
Updated on 27 January 2021 at 18:44:15 UTC