package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/Simple_proxy_resolver/index.html
Module Wrappers.Simple_proxy_resolver
type t = [ `simple_proxy_resolver | `object_ ] Gobject.objval set_uri_proxy : t -> string -> string -> unitAdds a URI-scheme-specific proxy to @resolver; URIs whose scheme matches @uri_scheme (and which don't match #GSimpleProxyResolver:ignore-hosts) will be proxied via @proxy.
As with #GSimpleProxyResolver:default-proxy, if @proxy starts with "socks://", #GSimpleProxyResolver will treat it as referring to all three of the socks5, socks4a, and socks4 proxy types.
val set_ignore_hosts : t -> string array -> unitSets the list of ignored hosts.
See #GSimpleProxyResolver:ignore-hosts for more details on how the @ignore_hosts argument is interpreted.
val set_default_proxy : t -> string option -> unitSets the default proxy on @resolver, to be used for any URIs that don't match #GSimpleProxyResolver:ignore-hosts or a proxy set via g_simple_proxy_resolver_set_uri_proxy().
If @default_proxy starts with "socks://", #GSimpleProxyResolver will treat it as referring to all three of the socks5, socks4a, and socks4 proxy types.