Methods
send_message(…message)
send a message to the client
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
* |
<repeatable> |
consists of zero or more components |
set_message_handler(handler)
set a function used to receive messages
Parameters:
| Name | Type | Description |
|---|---|---|
handler |
ClientInterface~messageReceivedCallback | a function that will be called when a message from the client arrives |