eric5.E5Network.E5NetworkProxyFactory
Module implementing a network proxy factory.
Global Attributes
Classes
Functions
E5NetworkProxyFactory
Class implementing a network proxy factory.
Derived from
QNetworkProxyFactory
Class Attributes
Class Methods
Methods
Static Methods
E5NetworkProxyFactory (Constructor)
E5NetworkProxyFactory()
Constructor
E5NetworkProxyFactory.queryProxy
queryProxy(query)
Public method to determine a proxy for a given query.
- query
-
reference to the query object (QNetworkProxyQuery)
- Returns:
-
list of proxies in order of preference (list of QNetworkProxy)
proxyAuthenticationRequired
proxyAuthenticationRequired(proxy, auth)
Module slot to handle a proxy authentication request.
- proxy
-
reference to the proxy object (QNetworkProxy)
- auth
-
reference to the authenticator object (QAuthenticator)
schemeFromProxyType
schemeFromProxyType(proxyType)
Module function to determine the scheme name from the proxy type.
- proxyType
-
type of the proxy (QNetworkProxy.ProxyType)
- Returns:
-
scheme (string, one of Http, Https, Ftp)