TsgcWebSocketServer › Methods
Public methods grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| Start | Starts the server from a secondary thread so the calling thread is not blocked while bindings are opened. |
| Stop | Stops the server from a secondary thread so the calling thread is not blocked while connections are closed. |
| ReStart | Stops and then restarts the server from a secondary thread, useful after changing bindings or ports at runtime. |
| DisconnectAll | Disconnects every active client connection while keeping the server listening for new connections. |
| Name | Description |
|---|---|
| Broadcast | Sends the same message to all connected clients, optionally filtered by channel, protocol, or connection GUID list. |
| WriteData | Sends a message to a single client identified by its connection GUID. |
| Ping | Sends a WebSocket ping frame to every connected client. |
| Name | Description |
|---|---|
| Broadcast | Sends the same message to all connected clients, optionally filtered by channel, protocol, or connection GUID list. |
| DisconnectAll | Disconnects every active client connection while keeping the server listening for new connections. |
| Ping | Sends a WebSocket ping frame to every connected client. |
| ReStart | Stops and then restarts the server from a secondary thread, useful after changing bindings or ports at runtime. |
| Start | Starts the server from a secondary thread so the calling thread is not blocked while bindings are opened. |
| Stop | Stops the server from a secondary thread so the calling thread is not blocked while connections are closed. |
| WriteData | Sends a message to a single client identified by its connection GUID. |