Gio.Resolver.get_default
function get_default(): Gio.Resolver {
// Gjs wrapper for g_resolver_get_default()
}
Gets the default Gio.Resolver. You should unref it when you are done with it. Gio.Resolver may use its reference count as a hint about how many threads it should allocate for concurrent DNS resolutions.
Since 2.22
- Returns
the default Gio.Resolver.