Top | ![]() |
![]() |
![]() |
![]() |
const gchar * | g_proxy_address_get_destination_hostname () |
guint16 | g_proxy_address_get_destination_port () |
const gchar * | g_proxy_address_get_password () |
const gchar * | g_proxy_address_get_protocol () |
const gchar * | g_proxy_address_get_username () |
GSocketAddress * | g_proxy_address_new () |
gchar * | destination-hostname | Read / Write / Construct Only |
guint | destination-port | Read / Write / Construct Only |
gchar * | password | Read / Write / Construct Only |
gchar * | protocol | Read / Write / Construct Only |
gchar * | username | Read / Write / Construct Only |
const gchar *
g_proxy_address_get_destination_hostname
(GProxyAddress *proxy
);
Gets proxy
's destination hostname.
Since 2.26
guint16
g_proxy_address_get_destination_port (GProxyAddress *proxy
);
Gets proxy
's destination port.
Since 2.26
const gchar *
g_proxy_address_get_password (GProxyAddress *proxy
);
Gets proxy
's password.
Since 2.26
const gchar *
g_proxy_address_get_protocol (GProxyAddress *proxy
);
Gets proxy
's protocol.
Since 2.26
const gchar *
g_proxy_address_get_username (GProxyAddress *proxy
);
Gets proxy
's username.
Since 2.26
GSocketAddress * g_proxy_address_new (GInetAddress *inetaddr
,guint16 port
,const gchar *protocol
,const gchar *dest_hostname
,guint16 dest_port
,const gchar *username
,const gchar *password
);
Creates a new GProxyAddress for inetaddr
with protocol
that should
tunnel through dest_hostname
and dest_port
.
inetaddr |
The proxy server GInetAddress. |
|
port |
The proxy server port. |
|
protocol |
The proxy protocol to support, in lower case (e.g. socks, http). |
|
dest_hostname |
The destination hostname the the proxy should tunnel to. |
|
dest_port |
The destination port to tunnel to. |
|
username |
The username to authenticate to the proxy server
(or |
[allow-none] |
password |
The password to authenticate to the proxy server
(or |
[allow-none] |
Since 2.26
typedef struct _GProxyAddress GProxyAddress;
A GInetSocketAddress representing a connection via a proxy server
Since 2.26
“destination-hostname”
property“destination-hostname” gchar *
The proxy destination hostname.
Flags: Read / Write / Construct Only
Default value: NULL
“destination-port”
property“destination-port” guint
The proxy destination port.
Flags: Read / Write / Construct Only
Allowed values: <= 65535
Default value: 0
“password”
property“password” gchar *
The proxy password.
Flags: Read / Write / Construct Only
Default value: NULL
“protocol”
property“protocol” gchar *
The proxy protocol.
Flags: Read / Write / Construct Only
Default value: NULL
“username”
property“username” gchar *
The proxy username.
Flags: Read / Write / Construct Only
Default value: NULL