ProxyAddress.this

Creates a new GProxyAddress for inetaddr with protocol that should tunnel through dest_hostname and dest_port. Since 2.26

  1. this(GProxyAddress* gProxyAddress)
  2. this(GInetAddress* 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 GInetAddress*

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 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). [allow-none]

password string

The password to authenticate to the proxy server (or NULL). [allow-none]

Throws

ConstructionException GTK+ fails to create the object.

Meta