With this proxy configuration the connection uses proxy settings received from proxy auto-config (PAC) file which is located at the specific address.
More...
#include <proxy_config.hpp>
|
virtual std::string | pacUrl ()=0 |
| Returns the URL address of the PAC file.
|
|
template<class S > |
std::shared_ptr< S > | as () |
| Casts this proxy configuration to the target type.
|
|
|
static std::shared_ptr< PacProxyConfig > | create (std::string pac_url) |
| Creates a proxy configuration based on the PAC file located at the given PAC URL.
|
|
|
virtual ProxyConfigType | type () const =0 |
| Returns the current proxy config type.
|
|
With this proxy configuration the connection uses proxy settings received from proxy auto-config (PAC) file which is located at the specific address.
In case PAC script fails, a direct connection will be used.
◆ create()
static std::shared_ptr< PacProxyConfig > molybden::PacProxyConfig::create |
( |
std::string |
pac_url | ) |
|
|
static |
Creates a proxy configuration based on the PAC file located at the given PAC URL.
- Parameters
-
pac_url | a valid URL address of the PAC file. |
The documentation for this class was generated from the following file: