Gio.Proxy.connect_async

### Method

# Gio Proxyconnect_async

since: 2.26

#### Declaration [src]

    void
    g_proxy_connect_async (
      GProxy* proxy,
      GIOStream* connection,
      GProxyAddress* proxy_address,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Asynchronous version of g_proxy_connect().

Available since: 2.26

This method completes asynchronously. Use `g_proxy_connect_finish()` inside the `GAsyncReadyCallback` to obtain the result of the operation.

#### Parameters

`connection`

  Type: `GIOStream`

  A `GIOStream`.

  The data is owned by the caller of the method.

`proxy_address`

  Type: `GProxyAddress`

  A `GProxyAddress`.

  The data is owned by the caller of the method.

`cancellable`

  Type: `GCancellable`

  A `GCancellable`.

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

`callback`

  Type: `GAsyncReadyCallback`

  A `GAsyncReadyCallback`.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  Callback data.

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