Signal

FridaPortalService::message

Declaration

void
message (
  FridaPortalService* self,
  guint connection_id,
  const gchar* json,
  GBytes* data,
  gpointer user_data
)

Description [src]

Emitted when a message is received from a connection.

Default handler:

Parameters

connection_id

Type: guint

The connection’s ID.

json

Type: const gchar*

The message as a JSON string.

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

Type: GBytes

Binary data accompanying the message, if any.

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