Gio.NetworkService.prototype.get_domain
function get_domain(): String {
// Gjs wrapper for g_network_service_get_domain()
}
Gets the domain that srv serves. This might be either UTF-8 or ASCII-encoded, depending on what srv was created with.
Since 2.22
- Returns
srv's domain name