Tries to connect to the server. Returns true if connection was successful. Stream - Stream of an unconnected client. Host - Host name. Port - Port number. Path - WebSocket handler path.
Tries to connect to the server. Returns true if connection was successful. Stream - Stream of an unconnected client. IP - Server ip address as an array of bytes. Port - Port number. Path - WebSocket handler path.
Raises an event on the server. Event - Event name. Must include an underscore. DataMap - An array of strings with the parameters. The parameters will be converted to a key / value map on the server side. Number of parameters must be even. Quotes are not allowed.
Top