ProxyAddress.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
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

inetaddrThe proxy server #GInetAddress.
portThe proxy server port.
protocolThe proxy protocol to support, in lower case (e.g. socks, http).
destHostnameThe destination hostname the proxy should tunnel to.
destPortThe destination port to tunnel to.
usernameThe username to authenticate to the proxy server (or null).
passwordThe password to authenticate to the proxy server (or null).

Returns

a new #GProxyAddress