#include <icy/symple/server.h>Configuration options for the Symple server.
| Return | Name | Description |
|---|---|---|
std::string | host | |
uint16_t | port | |
net::TCPSocket::Ptr | socket | Optional pre-created listen socket (e.g. SSLSocket for HTTPS/WSS). |
bool | authentication | Require token in auth message. |
bool | dynamicRooms | Allow clients to join/leave rooms. |
size_t | maxConnections | Max WebSocket connections (0 = unlimited) |
size_t | maxMessageSize | Max message payload in bytes (64KB default) |
double | rateLimit | Messages per rate window. |
double | rateSeconds | Rate window in seconds. |
std::string host = "0.0.0.0"uint16_t port = 4500net::TCPSocket::Ptr socketOptional pre-created listen socket (e.g. SSLSocket for HTTPS/WSS).
bool authentication = falseRequire token in auth message.
bool dynamicRooms = trueAllow clients to join/leave rooms.
size_t maxConnections = 0Max WebSocket connections (0 = unlimited)
size_t maxMessageSize = 64 * 1024Max message payload in bytes (64KB default)
double rateLimit = 100.0Messages per rate window.
double rateSeconds = 10.0Rate window in seconds.