Gio.ProxyAddress.prototype.get_protocol

function get_protocol(): String {
    // Gjs wrapper for g_proxy_address_get_protocol()
}
  

Gets proxy's protocol. eg, "socks" or "http"

Since 2.26

Returns

the proxy's protocol