Class TomlGatewayConfigParser

Class Documentation

class TomlGatewayConfigParser

The TomlGatewayConfigParser class provides methods for parsing gateway configs from toml text files.

Public Static Functions

static cxx::expected<GatewayConfig, TomlGatewayConfigParseError> parse(const roudi::ConfigFilePathString_t &path = roudi::ConfigFilePathString_t(DEFAULT_CONFIG_FILE_PATH)) noexcept

Protected Static Functions

static cxx::expected<TomlGatewayConfigParseError> validate(const cpptoml::table &parsedToml) noexcept