Method

FridaRpcPeerpost_rpc_message

Declaration

void
frida_rpc_peer_post_rpc_message (
  FridaRpcPeer* self,
  const gchar* json,
  GBytes* data,
  GCancellable* cancellable,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description [src]

Posts an RPC message to the peer.

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.
cancellable

Type: GCancellable

No description available.

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

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
_callback__target

Type: void*

No description available.

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