Method

FridaScriptpost

Declaration

void
frida_script_post (
  FridaScript* self,
  const gchar* json,
  GBytes* data
)

Description [src]

Posts a message to the script, delivered to its recv handlers.

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.