module Gio::ProxyResolver

Overview

#GProxyResolver provides synchronous and asynchronous network proxy resolution. #GProxyResolver is used within #GSocketClient through the method g_socket_connectable_proxy_enumerate().

Implementations of #GProxyResolver based on libproxy and GNOME settings can be found in glib-networking. GIO comes with an implementation for use inside Flatpak portals.

Direct including types

Defined in:

lib/gi-crystal/src/auto/gio-2.0/proxy_resolver.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.default : Gio::ProxyResolver #

def self.g_type : UInt64 #

Instance Method Detail

def is_supported : Bool #

def lookup(uri : String, cancellable : Gio::Cancellable?) : Enumerable(String) #

def lookup_async(uri : String, cancellable : Gio::Cancellable?, callback : Gio::AsyncReadyCallback?, user_data : Pointer(Void)?) : Nil #

def lookup_finish(result : Gio::AsyncResult) : Enumerable(String) #

abstract def to_unsafe #