|
| ProxyResolver (ProxyResolver && src) noexcept |
|
ProxyResolver & | operator= (ProxyResolver && src) noexcept |
|
| ~ProxyResolver () noexcept override |
|
GProxyResolver * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GProxyResolver * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
bool | is_supported () const |
| Checks if resolver can be used on this system. More...
|
|
std::vector< Glib::ustring > | lookup (const Glib::ustring & uri, const Glib::RefPtr< Cancellable > & cancellable) |
| Looks into the system proxy configuration to determine what proxy, if any, to use to connect to uri. More...
|
|
std::vector< Glib::ustring > | lookup (const Glib::ustring & uri) |
| Looks into the system proxy configuration to determine what proxy, if any, to use to connect to uri. More...
|
|
void | lookup_async (const Glib::ustring & uri, const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable) |
| Asynchronous lookup of proxy. More...
|
|
void | lookup_async (const Glib::ustring & uri, const SlotAsyncReady & slot) |
| Asynchronous lookup of proxy. More...
|
|
std::vector< Glib::ustring > | lookup_finish (const Glib::RefPtr< AsyncResult > & result) |
| Call this function to obtain the array of proxy URIs when g_proxy_resolver_lookup_async() is complete. More...
|
|
| Interface () |
| A Default constructor. More...
|
|
| Interface (Interface && src) noexcept |
|
Interface & | operator= (Interface && src) noexcept |
|
| Interface (const Glib::Interface_Class & interface_class) |
| Called by constructors of derived classes. More...
|
|
| Interface (GObject * castitem) |
| Called by constructors of derived classes. More...
|
|
| ~Interface () noexcept override |
|
| Interface (const Interface &)=delete |
|
Interface & | operator= (const Interface &)=delete |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring & property_name, const Glib::ValueBase & value) |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
void | get_property_value (const Glib::ustring & property_name, Glib::ValueBase & value) const |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
template<class PropertyType > |
void | set_property (const Glib::ustring & property_name, const PropertyType & value) |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
template<class PropertyType > |
void | get_property (const Glib::ustring & property_name, PropertyType & value) const |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
void | connect_property_changed (const Glib::ustring & property_name, const sigc::slot< void > & slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
void | connect_property_changed (const Glib::ustring & property_name, sigc::slot< void > && slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring & property_name, const sigc::slot< void > & slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring & property_name, sigc::slot< void > && slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
void | freeze_notify () |
| Increases the freeze count on object. More...
|
|
void | thaw_notify () |
| Reverts the effect of a previous call to freeze_notify(). More...
|
|
virtual void | reference () const |
| Increment the reference count for this object. More...
|
|
virtual void | unreference () const |
| Decrement the reference count for this object. More...
|
|
GObject * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GObject * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GObject * | gobj_copy () const |
| Give a ref-ed copy to someone. Use for direct struct access. More...
|
|
ProxyResolver - Asynchronous and cancellable network proxy resolver.
ProxyResolver provides synchronous and asynchronous network proxy resolution. ProxyResolver is used within ClientSocket through the method Gio::SocketConnectable::proxy_enumerate().
- Since glibmm 2.28:
Looks into the system proxy configuration to determine what proxy, if any, to use to connect to uri.
The returned proxy URIs are of the form <protocol>://[user[:password]@]host:port or direct://, where <protocol> could be http, rtsp, socks or other proxying protocol.
If you don't know what network protocol is being used on the socket, you should use none as the URI protocol. In this case, the resolver might still return a generic proxy type (such as SOCKS), but would not return protocol-specific proxy types (such as http).
direct:// is used when no proxy is needed. Direct connection should not be attempted unless it is part of the returned array of proxies.
- Parameters
-
uri | a URI representing the destination to connect to. |
Looks into the system proxy configuration to determine what proxy, if any, to use to connect to uri.
The returned proxy URIs are of the form <protocol>://[user[:password]@]host:port
or direct://
, where <protocol> could be http, rtsp, socks or other proxying protocol.
If you don't know what network protocol is being used on the socket, you should use none
as the URI protocol. In this case, the resolver might still return a generic proxy type (such as SOCKS), but would not return protocol-specific proxy types (such as http).
direct://
is used when no proxy is needed. Direct connection should not be attempted unless it is part of the returned array of proxies.
- Since glibmm 2.26:
- Parameters
-
uri | A URI representing the destination to connect to. |
cancellable | A Cancellable, or nullptr . |
- Returns
- A
nullptr
-terminated array of proxy URIs.
- Exceptions
-