Malloy
Loading...
Searching...
No Matches
Public Attributes | List of all members
malloy::server::routing_context::config Struct Reference

#include <routing_context.hpp>

Inheritance diagram for malloy::server::routing_context::config:
Inheritance graph
[legend]
Collaboration diagram for malloy::server::routing_context::config:
Collaboration graph
[legend]

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.
 
- Public Attributes inherited from malloy::detail::controller_config
std::size_t num_threads = 1
 
std::shared_ptr< spdlog::logger > logger
 

Additional Inherited Members

- Public Member Functions inherited from malloy::detail::controller_config
void validate ()
 

Detailed Description

Controller configuration.

Member Data Documentation

◆ agent_string

std::string malloy::server::routing_context::config::agent_string {"malloy"}

Agent string used for connections.

Set as the Server field in http headers

◆ connection_logger

std::shared_ptr<spdlog::logger> malloy::server::routing_context::config::connection_logger

The logger instance for connection logging.

◆ doc_root

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.

◆ interface

std::string malloy::server::routing_context::config::interface = "127.0.0.1"

The interface to bind to.

◆ port

std::uint16_t malloy::server::routing_context::config::port = 8080

The port to listen on.


The documentation for this struct was generated from the following file: