20#ifndef ORES_COMMS_NET_SERVER_OPTIONS_HPP
21#define ORES_COMMS_NET_SERVER_OPTIONS_HPP
37 std::uint16_t
port = 55555;
Contains the networking elements of the comms library.
Definition client.hpp:42
Configuration for the server.
Definition server_options.hpp:33
std::string certificate_file
Path to the TLS certificate file (PEM format).
Definition server_options.hpp:45
bool enable_signal_watching
Whether to enable signal watching.
Definition server_options.hpp:74
std::optional< std::string > private_key_content
Optional content of the TLS private key (PEM format).
Definition server_options.hpp:67
std::uint16_t port
TCP port the server listens on.
Definition server_options.hpp:37
std::uint32_t max_connections
Maximum number of concurrent client connections.
Definition server_options.hpp:41
std::string server_identifier
Human-readable identifier for the server instance.
Definition server_options.hpp:53
std::string private_key_file
Path to the TLS private key file (PEM format).
Definition server_options.hpp:49
std::optional< std::string > certificate_chain_content
Optional content of the TLS certificate chain (PEM format).
Definition server_options.hpp:60