Method

GioProxyResolverlookup_async

Declaration

void
g_proxy_resolver_lookup_async (
  GProxyResolver* resolver,
  const gchar* uri,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronous lookup of proxy. See g_proxy_resolver_lookup() for more details.

Available since:2.26

Parameters

uri const gchar*
 

A URI representing the destination to connect to.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
cancellable GCancellable
 

A GCancellable, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

Callback to call after resolution completes.

 The argument can be NULL.
user_data gpointer
 

Data for callback.

 The argument can be NULL.
 The data is owned by the caller of the function.