20#ifndef ORES_HTTP_NET_HTTP_SERVER_OPTIONS_HPP
21#define ORES_HTTP_NET_HTTP_SERVER_OPTIONS_HPP
28namespace ores::http::net {
Configuration options for the HTTP server.
Definition http_server_options.hpp:33
std::chrono::seconds request_timeout
Request timeout duration.
Definition http_server_options.hpp:52
std::string certificate_file
Path to SSL certificate file.
Definition http_server_options.hpp:62
bool enable_cors
Enable CORS support.
Definition http_server_options.hpp:92
std::uint16_t port
Port to listen on.
Definition http_server_options.hpp:42
std::string jwt_secret
JWT secret for authentication (if using symmetric key).
Definition http_server_options.hpp:72
std::string jwt_audience
JWT audience for validation.
Definition http_server_options.hpp:87
std::string address
Address to bind to (default: 0.0.0.0).
Definition http_server_options.hpp:37
bool enable_ssl
Whether to enable SSL/TLS.
Definition http_server_options.hpp:57
std::string jwt_public_key_file
Path to JWT public key file (if using RSA).
Definition http_server_options.hpp:77
std::uint32_t max_connections
Maximum number of concurrent connections.
Definition http_server_options.hpp:47
std::string server_identifier
Server identifier for responses.
Definition http_server_options.hpp:102
std::string cors_allowed_origins
Allowed origins for CORS (empty = all).
Definition http_server_options.hpp:97
std::string private_key_file
Path to SSL private key file.
Definition http_server_options.hpp:67
std::string jwt_issuer
JWT issuer for validation.
Definition http_server_options.hpp:82