#include <wx/webrequest.h>
Object describing the proxy settings to be used by the session.
An object of this type can be created using one of the factory functions documented below and passed to wxWebSession::SetProxy() or wxWebSessionSync::SetProxy() to use non-default proxy settings.
For example:
Static Public Member Functions | |
static wxWebProxy | FromURL (const wxString &url) |
Use the specified proxy for all requests. More... | |
static wxWebProxy | Disable () |
Disable use of the proxy even if one is configured. More... | |
static wxWebProxy | Default () |
|
static |
|
static |
Disable use of the proxy even if one is configured.
Try to always use direct connection to the server, even if the system, or user account, is configured to use a proxy.
|
static |
Use the specified proxy for all requests.
The url may contain the schema (supported schemas depend on the backend, but "http" and "https" are always supported) and the port number, but "http" and backend-dependent port number will be used by default if they are not specified.
It may also contain username and password to be used for authenticating with the proxy, except under macOS.
Backend-specific notes: