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