|
ORE Studio 0.0.4
|
Configuration for the server. More...
#include <server_options.hpp>

Public Attributes | |
| std::uint16_t | port = 55555 |
| TCP port the server listens on. | |
| std::uint32_t | max_connections = 10 |
| Maximum number of concurrent client connections. | |
| std::string | certificate_file = "server.crt" |
| Path to the TLS certificate file (PEM format). | |
| std::string | private_key_file = "server.key" |
| Path to the TLS private key file (PEM format). | |
| std::string | server_identifier = "ores-server" |
| Human-readable identifier for the server instance. | |
| std::optional< std::string > | certificate_chain_content |
| Optional content of the TLS certificate chain (PEM format). | |
| std::optional< std::string > | private_key_content |
| Optional content of the TLS private key (PEM format). | |
| bool | enable_signal_watching = true |
| Whether to enable signal watching. | |
Configuration for the server.
| std::optional<std::string> certificate_chain_content |
Optional content of the TLS certificate chain (PEM format).
If present, this takes precedence over certificate_file.
| std::optional<std::string> private_key_content |
Optional content of the TLS private key (PEM format).
If present, this takes precedence over private_key_file.
| bool enable_signal_watching = true |
Whether to enable signal watching.
If true, the server will watch for signals and handle them appropriately.