#include <icy/symple/client.h>Connection and authentication options for the Symple client.
| Return | Name | Description |
|---|---|---|
std::string | host | |
uint16_t | port | |
bool | secure | Use wss:// instead of ws://. |
bool | reconnection | Auto-reconnect on disconnect. |
int | reconnectAttempts | 0 = unlimited |
int | reconnectDelay | Milliseconds between retries. |
std::string | user | User identifier (required) |
std::string | name | Display name. |
std::string | type | Peer type. |
std::string | token | Auth token (optional) |
std::string host = "127.0.0.1"uint16_t port = 4500bool secure = falseUse wss:// instead of ws://.
bool reconnection = trueAuto-reconnect on disconnect.
int reconnectAttempts = 00 = unlimited
int reconnectDelay = 3000Milliseconds between retries.
std::string userUser identifier (required)
std::string nameDisplay name.
std::string typePeer type.
std::string tokenAuth token (optional)
| Return | Name | Description |
|---|---|---|
Options | Defaulted constructor. |
Options() = defaultDefaulted constructor.