30#include "msgpack_rpc/impl/msgpack_rpc_export.h"
69 [[nodiscard]]
const std::vector<addresses::URI>&
uris()
const noexcept;
84 [[nodiscard]] std::chrono::nanoseconds
call_timeout()
const noexcept;
Class of URIs (Uniform Resource Identifiers) to specify endpoints in this library.
ReconnectionConfig & reconnection() noexcept
Get the configuration of reconnection.
std::vector< addresses::URI > uris_
URIs.
ClientConfig & call_timeout(std::chrono::nanoseconds value)
Set the duration of timeout of RPCs.
ExecutorConfig & executor() noexcept
Get the configuration of executors.
ExecutorConfig executor_
Configuration of executors.
ClientConfig()
Constructor.
ReconnectionConfig reconnection_
Configuration of reconnection.
const std::vector< addresses::URI > & uris() const noexcept
Get the URIs of the server.
MessageParserConfig message_parser_
Configuration of parsers of messages.
std::chrono::nanoseconds call_timeout_
Duration of timeout of RPCs.
MessageParserConfig & message_parser() noexcept
Get the configuration of parsers of messages.
ClientConfig & add_uri(addresses::URI uri)
Add a URI of the server.
Class of configuration of executors.
Class of configuration of parsers of messages.
Class of configurations of reconnection.
Definition of ExecutorConfig class.
Definition of MessageParserConfig class.
Namespace of configurations.
Definition of ReconnectionConfig class.