write_message


Description:

[ Version ( since = "3.26" ) ]
public bool write_message (Variant message, Cancellable? cancellable = null) throws Error

Synchronously sends a message to the peer.

This operation will complete once the message has been buffered. There is no guarantee the peer received it.

Parameters:

this

a OutputStream

message

a Variant

cancellable

a Cancellable or null