Signal

JsonrpcServer::notification

Declaration

void
notification (
  JsonrpcServer* self,
  JsonrpcClient* client,
  gchar* method,
  GVariant* id,
  gpointer user_data
)

Description [src]

This signal is emitted when the client has sent a notification to us.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since:3.26

Parameters

client JsonrpcClient
 

A JsonrpcClient.

 The data is owned by the caller of the function.
method gchar*
 

The notification name.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
id GVariant
 

The params for the notification.

 The data is owned by the caller of the function.