The proxy server #GInetAddress.
The proxy server port.
The proxy protocol to support, in lower case (e.g. socks, http).
The destination hostname the proxy should tunnel to.
The destination port to tunnel to.
The username to authenticate to the proxy server (or null).
The password to authenticate to the proxy server (or null).
a new #GProxyAddress
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 #GProxyAddress:uri or #GProxyAddress:destination-protocol fields; use gobject.object.ObjectG.new_ directly if you want to set those.)