Send a message
using the connection of the this.
If it cannot be sent immediately, it will be queued for transmission in this. The contents of
message
will then be serialized and transmitted when the connection of the this becomes
writable. In case the message
is queued, the ID returned in id
will be non-zero and used as the ID argument in
the message_sent callback.
this |
a Watch |
message |
a Message |
id |
location for a message ID or |
OK on success. |