/* * Copyright (c) 2021, Max Wipfli * Copyright (c) 2022, Thomas Keppler * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace WebServer { class Configuration { public: Configuration(DeprecatedString document_root_path, Optional credentials = {}); DeprecatedString const& document_root_path() const { return m_document_root_path; } Optional const& credentials() const { return m_credentials; } static Configuration const& the(); private: DeprecatedString m_document_root_path; Optional m_credentials; }; }