ProxyAddress.this
this
(gio.inet_address.InetAddress inetaddr, ushort port, string protocol, string destHostname, ushort destPort, string username = null, string password = null)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.ObjectWrap.new_] directly if you want to set those.)
Parameters
inetaddr | The proxy server #GInetAddress. |
port | The proxy server port. |
protocol | The proxy protocol to support, in lower case (e.g. socks, http). |
destHostname | The destination hostname the proxy should tunnel to. |
destPort | The destination port to tunnel to. |
username | The username to authenticate to the proxy server (or null). |
password | The password to authenticate to the proxy server (or null). |
Returns
a new #GProxyAddress