|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Definition of parse_toml functions. More...
#include <string>#include <string_view>#include <unordered_map>#include "msgpack_rpc/config/client_config.h"#include "msgpack_rpc/config/logging_config.h"#include "msgpack_rpc/config/server_config.h"#include "msgpack_rpc/impl/msgpack_rpc_export.h"Go to the source code of this file.
Namespaces | |
| namespace | msgpack_rpc |
| Namespace of cpp-msgpack-rpc library. | |
| namespace | msgpack_rpc::config |
| Namespace of configurations. | |
Functions | |
| void | msgpack_rpc::config::toml::parse_toml (std::string_view file_path, std::unordered_map< std::string, LoggingConfig > &logging_configs, std::unordered_map< std::string, ClientConfig > &client_configs, std::unordered_map< std::string, ServerConfig > &server_configs) |
| Parse configurations from a TOML file. | |
Definition of parse_toml functions.
Definition in file parse_toml.h.
| void msgpack_rpc::config::toml::parse_toml | ( | std::string_view | file_path, |
| std::unordered_map< std::string, LoggingConfig > & | logging_configs, | ||
| std::unordered_map< std::string, ClientConfig > & | client_configs, | ||
| std::unordered_map< std::string, ServerConfig > & | server_configs ) |
Parse configurations from a TOML file.
| [in] | file_path | Path of the TOML file. |
| [in] | logging_configs | Configurations of logging. |
| [in] | client_configs | Configurations of clients. |
| [in] | server_configs | Configurations of servers. |
Definition at line 32 of file parse_toml.cpp.