NetWhitebindPermissions::TryParse

Parse a -whitebind string into permissions and a service address.

Synopsis

Declared in <net_permissions.h>

static
bool
TryParse(
    std::string const& str,
    NetWhitebindPermissions& output,
    bilingual_str& error);

Return Value

true if parsing succeeded.

Parameters

NameDescription
strThe -whitebind configuration string to parse.
outputReceives the parsed permissions and service on success.
errorReceives an error message on failure.