ProxyAddress.this

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.)

class ProxyAddress
this
(,
ushort port
,
string protocol
,,
ushort destPort
,
string username = null
,
string password = null
)

Parameters

inetaddr gio.inet_address.InetAddress

The proxy server #GInetAddress.

port ushort

The proxy server port.

protocol string

The proxy protocol to support, in lower case (e.g. socks, http).

destHostname string

The destination hostname the proxy should tunnel to.

destPort ushort

The destination port to tunnel to.

username string

The username to authenticate to the proxy server (or null).

password string

The password to authenticate to the proxy server (or null).

Return Value

a new #GProxyAddress