EDataServer.SourceProxy¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c/en |
Proxy autoconfiguration URL |
||
r/w/c/en |
FTP proxy host name |
||
r/w/c/en |
FTP proxy port |
||
r/w/c/en |
HTTP proxy password |
||
r/w/c/en |
HTTP proxy username |
||
r/w/c/en |
HTTP proxy host name |
||
r/w/c/en |
HTTP proxy port |
||
r/w/c/en |
Whether HTTP proxy server connections require authentication |
||
r/w/c/en |
Secure HTTP proxy host name |
||
r/w/c/en |
Secure HTTP proxy port |
||
[ |
r/w/c/en |
Hosts to connect directly |
|
r/w/c/en |
Proxy configuration method |
||
r/w/c/en |
SOCKS proxy host name |
||
r/w/c/en |
SOCKS proxy port |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataServer.SourceProxy(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Contains only private data that should be read and manipulated using the functions below.
New in version 3.12.
- dup_autoconfig_url()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:autoconfig-url
- Return type:
Thread-safe variation of
EDataServer.SourceProxy.get_autoconfig_url
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.12.
- dup_ftp_host()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:ftp-host
- Return type:
Thread-safe variation of
EDataServer.SourceProxy.get_ftp_host
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.12.
- dup_http_auth_password()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:http-auth-password
- Return type:
Thread-safe variation of
EDataServer.SourceProxy.get_http_auth_password
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.12.
- dup_http_auth_user()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:http-auth-user
- Return type:
Thread-safe variation of
EDataServer.SourceProxy.get_http_auth_user
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.12.
- dup_http_host()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:http-host
- Return type:
Thread-safe variation of
EDataServer.SourceProxy.get_http_host
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.12.
- dup_https_host()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:https-host
- Return type:
Threads-safe variation of
EDataServer.SourceProxy.get_https_host
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.12.
- dup_ignore_hosts()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:ignore-hosts
- Return type:
[
str
]
Thread-safe variation of
EDataServer.SourceProxy.get_ignore_hosts
(). Use this function when accessing self from multiple threads.The returned string array should be freed with
GLib.strfreev
() when no longer needed.New in version 3.12.
- dup_socks_host()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceProxy
:socks-host
- Return type:
Thread-safe variation of
EDataServer.SourceProxy.get_socks_host
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.12.
- get_autoconfig_url()¶
- Returns:
the autoconfiguration URL
- Return type:
Returns the URL that provides proxy configuration values. When the self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.AUTO
, this URL is used to look up proxy information for all protocols.New in version 3.12.
- get_ftp_host()¶
- Returns:
FTP proxy host name
- Return type:
Returns the machine name to proxy FTP through when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_ftp_port()¶
- Returns:
FTP proxy port
- Return type:
Returns the port on the machine defined by
EDataServer.SourceProxy
:ftp-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_http_auth_password()¶
- Returns:
HTTP proxy password
- Return type:
Returns the password to pass as authentication when doing HTTP proxying and
EDataServer.SourceProxy
:http-use-auth
isTrue
.New in version 3.12.
- get_http_auth_user()¶
- Returns:
HTTP proxy username
- Return type:
Returns the user name to pass as authentication when doing HTTP proxying and
EDataServer.SourceProxy
:http-use-auth
isTrue
.New in version 3.12.
- get_http_host()¶
- Returns:
HTTP proxy host name
- Return type:
Returns the machine name to proxy HTTP through when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_http_port()¶
- Returns:
HTTP proxy port
- Return type:
Returns the port on the machine defined by
EDataServer.SourceProxy
:http-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_http_use_auth()¶
- Returns:
whether to authenticate HTTP proxy connections
- Return type:
Returns whether the HTTP proxy server at
EDataServer.SourceProxy
:http-host
andEDataServer.SourceProxy
:http-port
requires authentication.The username/password combo is defined by
EDataServer.SourceProxy
:http-auth-user
andEDataServer.SourceProxy
:http-auth-password
, but only applies when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_https_host()¶
- Returns:
secure HTTP proxy host name
- Return type:
Returns the machine name to proxy secure HTTP through when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_https_port()¶
- Returns:
secure HTTP proxy port
- Return type:
Returns the port on the machine defined by
EDataServer.SourceProxy
:https-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_ignore_hosts()¶
-
Returns a
None
-terminated string array of hosts which are connected to directly, rather than via the proxy (if it is active). The array elements can be hostnames, domains (using an initial wildcard like *.foo.com), IP host addresses (both IPv4 and IPv6) and network addresses with a netmask (something like 192.168.0.0/24).The returned array is owned by self and should not be modified or freed.
New in version 3.12.
- get_method()¶
- Returns:
the proxy configuration method
- Return type:
Returns the proxy configuration method for self.
The proxy configuration method determines the behavior of
EDataServer.Source.proxy_lookup
().New in version 3.12.
- get_socks_host()¶
- Returns:
SOCKS proxy host name
- Return type:
Returns the machine name to use as a SOCKS proxy when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- get_socks_port()¶
- Returns:
SOCKS proxy port
- Return type:
Returns the port on the machine defined by
EDataServer.SourceProxy
:socks-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_autoconfig_url(autoconfig_url)¶
- Parameters:
autoconfig_url (
str
) – an autoconfiguration URL
Sets the URL that provides proxy configuration values. When the self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.AUTO
, this URL is used to look up proxy information for all protocols.New in version 3.12.
- set_ftp_host(ftp_host)¶
- Parameters:
ftp_host (
str
) – FTP proxy host name
Sets the machine name to proxy FTP through when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_ftp_port(ftp_port)¶
- Parameters:
ftp_port (
int
) – FTP proxy port
Sets the port on the machine defined by
EDataServer.SourceProxy
:ftp-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_http_auth_password(http_auth_password)¶
- Parameters:
http_auth_password (
str
) – HTTP proxy password
Sets the password to pass as authentication when doing HTTP proxying and
EDataServer.SourceProxy
:http-use-auth
isTrue
.New in version 3.12.
- set_http_auth_user(http_auth_user)¶
- Parameters:
http_auth_user (
str
) – HTTP proxy username
Sets the user name to pass as authentication when doing HTTP proxying and
EDataServer.SourceProxy
:http-use-auth
isTrue
.New in version 3.12.
- set_http_host(http_host)¶
- Parameters:
http_host (
str
) – HTTP proxy host name
Sets the machine name to proxy HTTP through when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_http_port(http_port)¶
- Parameters:
http_port (
int
) – HTTP proxy port
Sets the port on the machine defined by
EDataServer.SourceProxy
:http-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_http_use_auth(http_use_auth)¶
- Parameters:
http_use_auth (
bool
) – whether to authenticate HTTP proxy connections
Sets whether the HTTP proxy server at
EDataServer.SourceProxy
:http-host
andEDataServer.SourceProxy
:http-port
requires authentication.The username/password combo is defined by
EDataServer.SourceProxy
:http-auth-user
andEDataServer.SourceProxy
:http-auth-password
, but only applies when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_https_host(https_host)¶
- Parameters:
https_host (
str
) – secure HTTP proxy host name
Sets the machine name to proxy secure HTTP through when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_https_port(https_port)¶
- Parameters:
https_port (
int
) – secure HTTP proxy port
Sets the port on the machine defined by
EDataServer.SourceProxy
:https-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_ignore_hosts(ignore_hosts)¶
-
Sets the hosts which are connected to directly, rather than via the proxy (if it is active). The array elements can be hostnames, domains (using an initial wildcard like *.foo.com), IP host addresses (both IPv4 and IPv6) and network addresses with a netmask (something like 192.168.0.0/24).
New in version 3.12.
- set_method(method)¶
- Parameters:
method (
EDataServer.ProxyMethod
) – the proxy configuration method
Sets the proxy configuration method for self.
The proxy configuration method determines the behavior of
EDataServer.Source.proxy_lookup
().New in version 3.12.
- set_socks_host(socks_host)¶
- Parameters:
socks_host (
str
) – SOCKS proxy host name
Sets the machine name to use as a SOCKS proxy when self's
EDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
- set_socks_port(socks_port)¶
- Parameters:
socks_port (
int
) – SOCKS proxy port
Sets the port on the machine defined by
EDataServer.SourceProxy
:socks-host
to proxy through when self'sEDataServer.SourceProxy
:method
isEDataServer.ProxyMethod.MANUAL
.New in version 3.12.
Property Details¶
- EDataServer.SourceProxy.props.autoconfig_url¶
- Name:
autoconfig-url
- Type:
- Default Value:
- Flags:
Proxy autoconfiguration URL
- EDataServer.SourceProxy.props.ftp_host¶
-
FTP proxy host name
- EDataServer.SourceProxy.props.ftp_port¶
- Name:
ftp-port
- Type:
- Default Value:
0
- Flags:
FTP proxy port
- EDataServer.SourceProxy.props.http_auth_password¶
- Name:
http-auth-password
- Type:
- Default Value:
- Flags:
HTTP proxy password
- EDataServer.SourceProxy.props.http_auth_user¶
- Name:
http-auth-user
- Type:
- Default Value:
- Flags:
HTTP proxy username
- EDataServer.SourceProxy.props.http_host¶
-
HTTP proxy host name
- EDataServer.SourceProxy.props.http_port¶
- Name:
http-port
- Type:
- Default Value:
8080
- Flags:
HTTP proxy port
- EDataServer.SourceProxy.props.http_use_auth¶
- Name:
http-use-auth
- Type:
- Default Value:
- Flags:
Whether HTTP proxy server connections require authentication
- EDataServer.SourceProxy.props.https_host¶
- Name:
https-host
- Type:
- Default Value:
- Flags:
Secure HTTP proxy host name
- EDataServer.SourceProxy.props.https_port¶
- Name:
https-port
- Type:
- Default Value:
0
- Flags:
Secure HTTP proxy port
- EDataServer.SourceProxy.props.ignore_hosts¶
- Name:
ignore-hosts
- Type:
[
str
]- Default Value:
[]
- Flags:
Hosts to connect directly
- EDataServer.SourceProxy.props.method¶
- Name:
method
- Type:
- Default Value:
- Flags:
Proxy configuration method
- EDataServer.SourceProxy.props.socks_host¶
- Name:
socks-host
- Type:
- Default Value:
- Flags:
SOCKS proxy host name