Websocket | R Documentation |
Handle websocket messages.
new()
Websocket$new(ws)
ws
Constructor
send()
Websocket$send(name, message)
name
Name, identifier, of the message.
message
Content of the message, anything that can be serialised to JSON.
Send a message
print()
Websocket$print()
clone()
The objects of this class are cloneable with this method.
Websocket$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.