ProxyAddress
constructor(inetaddr: InetAddress, port: <Error class: unknown class>, protocol: String, destHostname: String, destPort: <Error class: unknown class>, username: String? = null, password: String? = null)
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 g_object_new() directly if you want to set those.)
Return
a new #GProxyAddress
Since
2.26
Parameters
inetaddr
The proxy server #GInetAddress.
port
The proxy server port.
protocol
The proxy protocol to support, in lower case (e.g. socks, http).
destHostname
The destination hostname the proxy should tunnel to.
destPort
The destination port to tunnel to.
username
The username to authenticate to the proxy server (or null).
password
The password to authenticate to the proxy server (or null).
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)