Method

JsonrpcClientcall_finish

Declaration [src]

gboolean
jsonrpc_client_call_finish (
  JsonrpcClient* self,
  GAsyncResult* result,
  GVariant** return_value,
  GError** error
)

Description [src]

Completes an asynchronous call to jsonrpc_client_call_async().

Available since:3.26

Parameters

result GAsyncResult*
 

A GAsyncResult provided to the callback in jsonrpc_client_call_async()

 The data is owned by the caller of the function.
return_value GVariant**
 

A location for a GVariant or NULL.

 The argument will be set by the function.
 The argument can be set to NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if successful and return_value is set, otherwise FALSE and error is set.