Gio.ProxyAddress.prototype.get_destination_port

function get_destination_port(): Number(guint16) {
    // Gjs wrapper for g_proxy_address_get_destination_port()
}
  

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

Returns

the proxy's destination port