ProxyAddress

Support for proxied GInetSocketAddress.

Constructors

this
this(GProxyAddress* gProxyAddress)

Sets our main struct and passes it to the parent class

this
this(GInetAddress* 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. (Note that this method doesn't set the "uri" or "destination-protocol" fields; use g_object_new() directly if you want to set those.) Since 2.26

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. Since 2.26

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. Since 2.26

getDestinationProtocol
string getDestinationProtocol()

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

getPassword
string getPassword()

Gets proxy's password. Since 2.26

getProtocol
string getProtocol()

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

getProxyAddressStruct
GProxyAddress* getProxyAddressStruct()

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. Since 2.34

getUsername
string getUsername()

Gets proxy's username. Since 2.26

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

gProxyAddress
GProxyAddress* gProxyAddress;

the main Gtk struct

Inherited Members

From InetSocketAddress

gInetSocketAddress
GInetSocketAddress* gInetSocketAddress;

the main Gtk struct

getInetSocketAddressStruct
GInetSocketAddress* getInetSocketAddressStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
getAddress
InetAddress getAddress()

Gets address's GInetAddress. Since 2.22

getPort
ushort getPort()

Gets address's port. Since 2.22

getFlowinfo
uint getFlowinfo()

Gets the sin6_flowinfo field from address, which must be an IPv6 address. Since 2.32

getScopeId
uint getScopeId()

Gets the sin6_scope_id field from address, which must be an IPv6 address. Since 2.32

Meta