Method
JsonrpcClientsend_notification
Declaration [src]
gboolean
jsonrpc_client_send_notification (
JsonrpcClient* self,
const gchar* method,
GVariant* params,
GCancellable* cancellable,
GError** error
)
Description [src]
Synchronously calls method with params on the remote peer.
This function will not wait or expect a reply from the peer.
If params is floating then the reference is consumed.
| Available since: | 3.26 |
Parameters
method |
const gchar* |
The name of the method to call. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
params |
GVariant |
A |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
cancellable |
GCancellable |
A |
|
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. |