Struct MdnsDiscovery::Config

Nested Relationships

This struct is a nested type of Class MdnsDiscovery.

Struct Documentation

struct Config

Public Members

bool announce = {false}

Broadcast presence via mDNS.

bool discover = {false}

Browse for peers via mDNS.

std::string service = {"_medkit._tcp.local"}

Service type to announce/browse.

int port = {8080}

Port this gateway listens on.

std::string name

Instance name for announcement.

std::string peer_scheme = {"http"}

URL scheme for discovered peers (“http” or “https”)

ErrorCallback on_error

Optional error reporting callback.

LogCallback on_log

Optional diagnostic log callback.