Gio.NetworkService.prototype.get_scheme

function get_scheme(): String {
    // Gjs wrapper for g_network_service_get_scheme()
}
  

Get's the URI scheme used to resolve proxies. By default, the service name is used as scheme.

Since 2.26

Returns

srv's scheme name