Datachannel.sendMessage()
DESCRIPTION
Send a message on this datachannel
DECLARATION
void sendMessage(const uint8_t* buffer, size_t length, enum MessageType type = MESSAGE_TYPE_BINARY)
PARAMETERS
buffer:
- [in] Data buffer to send
length:
- [in] Length of data buffer
type:
- [in] Type of message to send