12DNETWORKMANAGER_BEGIN_NAMESPACE
14using DCORE_NAMESPACE::DExpected;
16class DSystemProxyPrivate;
36 QScopedPointer<DSystemProxyPrivate> d_ptr;
40DNETWORKMANAGER_END_NAMESPACE
连接配置管理的方法的封装
Definition: dsystemproxy.h:19
DExpected< void > setAutoProxy(const QUrl &pac) const
设置自动代理地址
DExpected< void > setProxy(const ProxyType type, const SystemProxyAddr &addr) const
设置代理属性
DExpected< QString > proxyIgnoreHosts() const
获取代理中的忽略列表
DExpected< QString > autoProxy() const
获取自动代理的地址
DExpected< void > setProxyIgnoreHosts(const QString &hosts) const
设置代理忽略列表
DExpected< SystemProxyAddr > proxy(const ProxyType method) const
获取对应代理类型的地址
DExpected< void > setProxyMethod(const SystemProxyMethod method) const
设置代理方法
DExpected< SystemProxyMethod > proxyMethod() const
获取代理方法
SystemProxyMethod
Definition: dnetworkmanagertypes.h:88
ProxyType
代理类型
Definition: dnetworkmanagertypes.h:86
系统代理的地址
Definition: dnetworkmanagertypes.h:270