Method

JsonrpcClientreply

Declaration [src]

gboolean
jsonrpc_client_reply (
  JsonrpcClient* self,
  GVariant* id,
  GVariant* result,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Synchronous variant of jsonrpc_client_reply_async().

If id or result are floating, there floating references are consumed.

Available since:3.26

Parameters

id GVariant
 

The id of the message to reply.

 The data is owned by the caller of the function.
result GVariant
 

The return value or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
  No description available.