ProxyAddress
Object Hierarchy:
GLib.ProxyAddress
GLib.ProxyAddress
GLib.ProxyAddress
GLib.InetSocketAddress
GLib.InetSocketAddress
GLib.InetSocketAddress->GLib.ProxyAddress
GLib.SocketAddress
GLib.SocketAddress
GLib.SocketAddress->GLib.InetSocketAddress
GLib.Object
GLib.Object
GLib.Object->GLib.SocketAddress
GLib.SocketConnectable
GLib.SocketConnectable
GLib.SocketConnectable->GLib.ProxyAddress
GLib.SocketConnectable->GLib.InetSocketAddress
GLib.SocketConnectable->GLib.SocketAddress
Description:
[
CCode ( type_id =
"g_proxy_address_get_type ()" ) ]
[
Version ( since =
"2.26" ) ]
public class ProxyAddress :
InetSocketAddress ,
SocketConnectable
A [class@Gio.
InetSocketAddress] representing a connection via a proxy server.
Content:
Properties:
public string destination_hostname { get ; construct ; }
The proxy destination hostname.
public uint destination_port { get ; construct ; }
The proxy destination port.
public string destination_protocol { get ; construct ; }
The protocol being spoke to the destination host, or
null if the ProxyAddress doesn't know.
public string password { get ; construct ; }
The proxy password.
public string protocol { get ; construct ; }
The proxy protocol.
public string uri { get ; construct ; }
The URI string that the proxy was constructed from (or
null if the creator didn't specify this).
public string username { get ; construct ; }
The proxy username.
Creation methods:
Methods:
public unowned string get_destination_hostname ()
Gets this '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.
public uint16 get_destination_port ()
Gets this '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.
public unowned string get_destination_protocol ()
Gets the protocol that is being spoken to the destination server; eg, "http"
or "ftp".
public unowned string ? get_password ()
Gets this 's password.
public unowned string get_protocol ()
Gets this 's protocol.
public unowned string ? get_uri ()
Gets the proxy URI that this was
constructed from.
public unowned string ? get_username ()
Gets this 's username.
Inherited Members:
All known members inherited from class GLib.InetSocketAddress
All known members inherited from class GLib.SocketAddress
All known members inherited from class GLib.Object
All known members inherited from interface GLib.SocketConnectable