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