Our new developer documentation is now available. Please check it out!
OdinPeer.sendMessage
On this page
sendMessage(message: Uint8Array): Promise<void>
Sends a message with arbitrary data to this peer.
Parameters
Name | Type | Description |
---|---|---|
message | Uint8Array | Byte array of arbitrary data to send |
Returns
Type | Description |
---|---|
Promise<void> |