#include <network_proxy.h>
This interface allows handle proxy settings of the os for internet connection.
Public Member Functions | |
MAXON_OBSERVABLE_STATIC (Result< Bool >, ObservableEnterCredentials,(const String &target, String *username, String *password), ObservableCombinerRunAllBoolUntilTrue) | |
Static Public Member Functions | |
static MAXON_METHOD Result< BaseArray< String > > | DetectProxiesForUrl (const Url &url) |
static MAXON_METHOD void | FlushProxyCache () |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (NetworkProxyInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.networkproxy") | |
|
private |
|
static |
Determines the right proxy for the given urls scheme and authority/server.
Windows: At the moment we support the following windows proxy setups. Network Settings/Internet Options/Connections/LAN Settings you can find the proxy settings for windows/internet explorer.
OSX: At the moment we support the following OSX proxy setups. System Preferences/Network/Additional Options/Proxies:
[in] | url | Url to be used to determine the right proxy servers for this connection. |
|
static |
Resets all cached proxy configuration files. This function can be called if network changes are not detected correctly.
MAXON_OBSERVABLE_STATIC | ( | Result< Bool > | , |
ObservableEnterCredentials | , | ||
(const String &target, String *username, String *password) | , | ||
ObservableCombinerRunAllBoolUntilTrue | |||
) |
ObservableSaveDatabase will be triggered before and after a database is/was written. This can be used to add source control callbacks etc.