Method

FridaPortalServicebroadcast

Declaration

void
frida_portal_service_broadcast (
  FridaPortalService* self,
  const gchar* json,
  GBytes* data
)

Description [src]

Posts a message to every connection.

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.