Gio.NetworkService.prototype.get_service

function get_service(): String {
    // Gjs wrapper for g_network_service_get_service()
}
  

Gets srv's service name (eg, "ldap").

Since 2.22

Returns

srv's service name