module Gio::ProxyResolver
Overview
GProxyResolver
provides synchronous and asynchronous network proxy
resolution. GProxyResolver
is used within Gio::SocketClient
through
the method Gio::SocketConnectable#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.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.
Class Method Summary
Instance Method Summary
- #is_supported : Bool
- #lookup(uri : String, cancellable : Gio::Cancellable | Nil) : Enumerable(String)
- #lookup_async(uri : String, cancellable : Gio::Cancellable | Nil, &callback : Gio::AsyncReadyCallback) : Nil
- #lookup_finish(result : Gio::AsyncResult) : Enumerable(String)
- #to_unsafe
Constructor Detail
Class Method Detail
Instance Method Detail
def lookup_async(uri : String, cancellable : Gio::Cancellable | Nil, &callback : Gio::AsyncReadyCallback) : Nil
#