It derives from <GInetSocketAddress>.
A <GInetSocketAddress> representing a
connection via a proxy server.
parent-instanceThe proxy destination hostname.
Its value is a string, or #f.
It can only be set when the object is made, with
#:destination-hostname.
The proxy destination port.
Its value is an unsigned 32-bit integer.
It can only be set when the object is made, with
#:destination-port.
The protocol being spoke to the destination host, or #f if the
<GProxyAddress> doesn’t know.
Its value is a string, or #f.
It can only be set when the object is made, with
#:destination-protocol.
The proxy password.
Its value is a string, or #f.
It can only be set when the object is made, with #:password.
The proxy protocol.
Its value is a string, or #f.
It can only be set when the object is made, with #:protocol.
The URI string that the proxy was constructed from (or #f if the
creator didn’t specify this).
Its value is a string, or #f.
It can only be set when the object is made, with #:uri.
The proxy username.
Its value is a string, or #f.
It can only be set when the object is made, with #:username.
Gets self’s destination hostname; that is, the name of the host that will be connected to via the proxy, not the name of the proxy itself.
Passed: a <GProxyAddress>.
Returned: a string.
the self’s destination hostname
Gets self’s destination port; that is, the port on the destination host that will be connected to via the proxy, not the port number of the proxy itself.
Passed: a <GProxyAddress>.
Returned: an unsigned 16-bit integer.
the self’s destination port
Gets the protocol that is being spoken to the destination server; eg, "http" or "ftp".
Passed: a <GProxyAddress>.
Returned: a string.
the self’s destination protocol
Gets self’s password.
Passed: a <GProxyAddress>.
Returned: a string, or #f.
the self’s password
Gets self’s protocol. eg, "socks" or "http"
Passed: a <GProxyAddress>.
Returned: a string.
the self’s protocol
Gets the proxy URI that self was constructed from.
Passed: a <GProxyAddress>.
Returned: a string, or #f.
the self’s URI, or #f if unknown
Gets self’s username.
Passed: a <GProxyAddress>.
Returned: a string, or #f.
the self’s username
Creates a new <GProxyAddress> for
inetaddr with protocol that should tunnel through
dest-hostname and dest-port.
(Note that this method doesn’t set the proxy-address:uri or proxy-address:destination-protocol fields; use
g_object_new() directly if you want to set those.)
Passed: a <GInetAddress>.
The proxy server <GInetAddress>.
Passed: an unsigned 16-bit integer.
The proxy server port.
Passed: a string.
The proxy protocol to support, in lower case (e.g. socks, http).
Passed: a string.
The destination hostname the proxy should tunnel to.
Passed: an unsigned 16-bit integer.
The destination port to tunnel to.
Passed, or left out: a string, or #f.
The username to authenticate to the proxy server (or #f).
Passed, or left out: a string, or #f.
The password to authenticate to the proxy server (or #f).
Returned: a <GSocketAddress>.
a new <GProxyAddress>