Gio.ProxyAddress.prototype.get_destination_hostname

function get_destination_hostname(): String {
    // Gjs wrapper for g_proxy_address_get_destination_hostname()
}
  

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

Returns

the proxy's destination hostname