ProxyAddress

Support for proxied GInetSocketAddress

Constructors

this
this(GProxyAddress* gProxyAddress, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(InetAddress inetaddr, ushort port, string protocol, string destHostname, ushort destPort, string username, string password)

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

Members

Functions

getDestinationHostname
string getDestinationHostname()

Gets proxy's destination hostname; that is, the name of the host that will be connected to via the proxy, not the name of the proxy itself.

getDestinationPort
ushort getDestinationPort()

Gets proxy's destination port; that is, the port on the destination host that will be connected to via the proxy, not the port number of the proxy itself.

getDestinationProtocol
string getDestinationProtocol()

Gets the protocol that is being spoken to the destination server; eg, "http" or "ftp".

getPassword
string getPassword()

Gets proxy's password.

getProtocol
string getProtocol()

Gets proxy's protocol. eg, "socks" or "http"

getProxyAddressStruct
GProxyAddress* getProxyAddressStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getUri
string getUri()

Gets the proxy URI that proxy was constructed from.

getUsername
string getUsername()

Gets proxy's username.

Static functions

getType
GType getType()

Variables

gProxyAddress
GProxyAddress* gProxyAddress;

the main Gtk struct

Meta

Since

2.26