Client


Description:

[ CCode ( cname = "goa_client_new" , has_construct_function = false ) ]
public async Client (Cancellable? cancellable) throws Error

Asynchronously gets a [class@Goa.

Client].

This is a failable asynchronous constructor - when the client is ready, callback will be invoked and you can use [ ctor@Goa.Client.new_finish] to get the result.

Parameters:

cancellable

A `GCancellable`

callback

A callback to call when the operation is complete

user_data

Data to pass to callback