#include "settings.hpp" #include namespace duckdb { std::string GetRemoteUrl(const ClientContext &context) { if (!context.db->config.options.allow_unsigned_extensions) { return UI_REMOTE_URL_SETTING_DEFAULT; } return internal::GetSetting(context, UI_REMOTE_URL_SETTING_NAME); } uint16_t GetLocalPort(const ClientContext &context) { return internal::GetSetting(context, UI_LOCAL_PORT_SETTING_NAME); } uint32_t GetPollingInterval(const ClientContext &context) { return internal::GetSetting(context, UI_POLLING_INTERVAL_SETTING_NAME); } } // namespace duckdb