Sends a message over the connection. The message must be a string; very large frames are rejected rather than silently truncated.

Parameters

string
required
The message to send.

Example

Errors