Malloy
|
#include <routing_context.hpp>
Public Attributes | |
std::shared_ptr< spdlog::logger > | connection_logger |
std::string | interface = "127.0.0.1" |
std::uint16_t | port = 8080 |
std::filesystem::path | doc_root = "." |
std::string | agent_string {"malloy"} |
Agent string used for connections. | |
![]() | |
std::size_t | num_threads = 1 |
std::shared_ptr< spdlog::logger > | logger |
Additional Inherited Members | |
![]() | |
void | validate () |
Controller configuration.
std::string malloy::server::routing_context::config::agent_string {"malloy"} |
Agent string used for connections.
Set as the Server field in http headers
std::shared_ptr<spdlog::logger> malloy::server::routing_context::config::connection_logger |
The logger instance for connection logging.
std::filesystem::path malloy::server::routing_context::config::doc_root = "." |
The root path for HTTP documents.
This is a filesystem path that can either be an absolute or relative to the working directory.
std::string malloy::server::routing_context::config::interface = "127.0.0.1" |
The interface to bind to.
std::uint16_t malloy::server::routing_context::config::port = 8080 |
The port to listen on.