Legend
| Method: void SendMessage( |
byte | opcode |
Specifies the opcode byte in the message header. Currently the only valid values defined in the protocol are
1 for text messages and 2 for binary messages. |
byte[] | payload | The message to send as a sequence of bytes. |