Gio.NetworkService.prototype.set_scheme

function set_scheme(scheme: String): void {
    // Gjs wrapper for g_network_service_set_scheme()
}
  

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

Since 2.26

scheme

a URI scheme