Molybden API
Loading...
Searching...
No Matches
proxy.hpp
1// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_PROXY_HPP
6#define MOLYBDEN_PROXY_HPP
7
8#include <memory>
9
10namespace molybden {
11
12class Profile;
13class ProxyConfig;
14
18class Proxy {
19 public:
23 virtual std::shared_ptr<Profile> profile() = 0;
24
28 virtual std::shared_ptr<ProxyConfig> config() = 0;
29
35 virtual void setConfig(std::shared_ptr<ProxyConfig> config) = 0;
36};
37
38} // namespace molybden
39
40#endif // MOLYBDEN_PROXY_HPP
Provides access to the profile proxy functionality.
Definition proxy.hpp:18
virtual std::shared_ptr< ProxyConfig > config()=0
The current proxy configuration.
virtual void setConfig(std::shared_ptr< ProxyConfig > config)=0
Updates the current proxy configuration with the given config.
virtual std::shared_ptr< Profile > profile()=0
The profile of this proxy service.