WebSocketServerClient

Class that the WebSocket server creates for it's connections.

close()

Closes an existing WebSocket connection.

send(message)

Send an message over a WebSocket connection.

Arguments:
message

(String | ArrayBuffer): Message to be send

Returns: Integer | null

0 on success, or null if failed.


Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!