aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Common/ProxyConfigurationResolver.h
blob: a9c2157ce39499b6300f9a6bf831b5509e2cfbf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <Common/ProxyConfiguration.h>

namespace DB
{

struct ProxyConfigurationResolver
{
    using Protocol = ProxyConfiguration::Protocol;

    virtual ~ProxyConfigurationResolver() = default;
    virtual ProxyConfiguration resolve() = 0;
    virtual void errorReport(const ProxyConfiguration & config) = 0;
};

}