Gio.ProxyAddress.prototype.get_destination_protocol

function get_destination_protocol(): String {
    // Gjs wrapper for g_proxy_address_get_destination_protocol()
}
  

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

Since 2.34

Returns

the proxy's destination protocol