Gio.ProxyResolver.prototype.is_supported

function is_supported(): Boolean {
    // Gjs wrapper for g_proxy_resolver_is_supported()
}
  

Checks if resolver can be used on this system. (This is used internally; Gio.proxy_resolver_get_default will only return a proxy resolver that returns true for this method.)

Since 2.26

Returns

true if resolver is supported.