Molybden API
Loading...
Searching...
No Matches
molybden::PacProxyConfig Class Referenceabstract

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>

Inheritance diagram for molybden::PacProxyConfig:
molybden::ProxyConfig

Public Member Functions

virtual std::string pacUrl ()=0
 Returns the URL address of the PAC file.
 
- Public Member Functions inherited from molybden::ProxyConfig
template<class S >
std::shared_ptr< S > as ()
 Casts this proxy configuration to the target type.
 

Static Public Member Functions

static std::shared_ptr< PacProxyConfigcreate (std::string pac_url)
 Creates a proxy configuration based on the PAC file located at the given PAC URL.
 

Additional Inherited Members

- Protected Member Functions inherited from molybden::ProxyConfig
virtual ProxyConfigType type () const =0
 Returns the current proxy config type.
 

Detailed Description

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.

Member Function Documentation

◆ 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_urla valid URL address of the PAC file.

The documentation for this class was generated from the following file: