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

Name

Description

str

The ‐whitebind configuration string to parse.

output

Receives the parsed permissions and service on success.

error

Receives an error message on failure.

Created with MrDocs