Method
JsonrpcOutputStreamwrite_message_async
since: 3.26
Declaration [src]
void
jsonrpc_output_stream_write_message_async (
JsonrpcOutputStream* self,
GVariant* message,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously sends a message to the peer.
This asynchronous operation will complete once the message has been buffered, and there is no guarantee the peer received it.
Available since: 3.26
Parameters
message-
Type:
GVariantA
GVariant.The data is owned by the caller of the function. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackorNULL.The argument can be NULL. user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the function.