2 using System.Collections.Generic;
12 #region Public Methods 19 #region Interface Implementation 22 SendMessage(handler, client, receivedMessage);
bool HandleReceivedMessage(Server.Server server, WebsocketHandler handler, ClientData client, WebsocketMessage receivedMessage)
Handle a received message.
void ConnectionClosed(Server.Server server, WebsocketHandler handler, ClientData client)
Called when a connection has been closed.
Structure containing client information.
Class containing the bytes of a websocket received message.
Server()
Creates an instance of server with default values.
Basic server class to handle TCP connections.
byte [] GetMessageBytes()
Get the packed message bytes.
void QueueMessage(ClientData client, byte[] message)
Send a message to the client.
void ConnectionInitialized(Server.Server server, WebsocketHandler handler, ClientData client)
Called when a connection has been initialized.