call_async


Description:

[ Version ( since = "3.26" ) ]
public async bool call_async (string method, Variant? @params, Cancellable? cancellable, out Variant? return_value) throws Error

Asynchronously calls method with params on the remote peer.

Upon completion or failure, callback is executed and it should call call_async.end to complete the request and release any memory held.

If params is floating, the floating reference is consumed.

Parameters:

this

A Client

method

the name of the method to call

cancellable

A Cancellable or null

callback

a callback to executed upon completion

params

A Variant of parameters or null

user_data

user data for callback