Method

FridaBuspost

Declaration

void
frida_bus_post (
  FridaBus* self,
  const gchar* json,
  GBytes* data
)

Description [src]

Posts a message to the bus.

Parameters

json

Type: const gchar*

The message as a JSON string.

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

Type: GBytes

Binary data to accompany the message, if any.

The argument can be NULL.
The data is owned by the caller of the method.