write_message_async
Description:
[ Version ( since = "3.26" ) ]
public async bool write_message_async (Variant message, Cancellable? cancellable) throws Error
public async bool write_message_async (Variant message, Cancellable? cancellable) throws Error
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.
Parameters:
this | |
message |
a Variant |
cancellable |
a Cancellable or null |
callback |
a TaskReadyCallback or null |
user_data |
closure data for |