Method

FridaPortalServicepost

Declaration

void
frida_portal_service_post (
  FridaPortalService* self,
  guint connection_id,
  const gchar* json,
  GBytes* data
)

Description [src]

Posts a message to a single connection.

Parameters

connection_id

Type: guint

The connection to send to.

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.