Class of URIs (Uniform Resource Identifiers) to specify endpoints in this library.
static URI parse(std::string_view uri_string)
Parse a string to create a URI.
Class of configuration of executors.
Class of configuration of parsers of messages.
ServerConfig()
Constructor.
ExecutorConfig & executor() noexcept
Get the configuration of executors.
ExecutorConfig executor_
Configuration of executors.
MessageParserConfig message_parser_
Configuration of parsers of messages.
std::vector< addresses::URI > uris_
URIs.
const std::vector< addresses::URI > & uris() const noexcept
Get the URIs of the server.
MessageParserConfig & message_parser() noexcept
Get the configuration of parsers of messages.
ServerConfig & add_uri(const addresses::URI &uri)
Add a URI of the server.
Namespace of configurations.
Definition of ServerConfig class.