Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinPeer.sendMessage

sendMessage(message: Uint8Array): Promise<void>

Sends a message with arbitrary data to this peer.

Parameters

NameTypeDescription
messageUint8ArrayByte array of arbitrary data to send

Returns

TypeDescription
Promise<void>