EDataServer.Client.retrieve_capabilities
Description: Reference for EDataServer.Client.retrieve_capabilities

### Virtual Method

# EDataServer Clientretrieve_capabilities

deprecated: 3.8 since: 3.2

#### Declaration [src]

    void
    retrieve_capabilities (
      EClient* client,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Initiates retrieval of capabilities on the `client`. This is usually required only once, after the `client` is opened. The returned value is cached and any subsequent call of `e_client_get_capabilities()` and `e_client_check_capability()` is using the cached value. The call is finished by `e_client_retrieve_capabilities_finish()` from the `callback`.

Available since: 3.2

Deprecated since: 3.8

Use `e_client_get_capabilities()` instead.

#### Parameters

`cancellable`

  Type: `GCancellable`

  A `GCancellable`; can be `NULL`.

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

`callback`

  Type: `GAsyncReadyCallback`

  Callback to call when a result is ready.

`user_data`

  Type: `gpointer`

  User data for the `callback`.

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