44 std::ostringstream
os;
46 os <<
"ProxyAction: auto config: " <<
parent->config.to_string();
70 create.
add(create_action);
71 destroy.
add(destroy_action);
74 const std::string
sname =
"OpenVPNConnect";
ProxyAction(ProxySettings::Ptr parent_arg, bool del_arg)
virtual std::string to_string() const override
const ProxySettings::Ptr parent
virtual void execute(std::ostream &os) override
OPENVPN_EXCEPTION(proxy_error)
ProxySettings(const TunBuilderCapture::ProxyAutoConfigURL &config_arg)
RCPtr< ProxySettings > Ptr
virtual void set_proxy(bool del)=0
static void add_actions(const TunBuilderCapture &settings, ActionList &create, ActionList &destroy)
TunBuilderCapture::ProxyAutoConfigURL config
Reference count base class for objects tracked by RCPtr. Disallows copying and assignment.
Class for handling Proxy Auto-Configuration (PAC) URLs.
ProxyAutoConfigURL proxy_auto_config_url