ProxyAddress.this

Creates a new gio.ProxyAddress for inetaddr with protocol that should tunnel through dest_hostname and dest_port.

(Note that this method doesn't set the uri or destination-protocol fields; use g_object_new() directly if you want to set those.)

  1. this(GProxyAddress* gProxyAddress, bool ownedRef)
  2. this(InetAddress inetaddr, ushort port, string protocol, string destHostname, ushort destPort, string username, string password)
    class ProxyAddress
    this
    (,
    ushort port
    ,
    string protocol
    ,,
    ushort destPort
    ,
    string username
    ,
    string password
    )

Parameters

inetaddr InetAddress

The proxy server gio.InetAddress

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

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.26