Learn R Programming

httpuv (version 1.2.1)

WebSocket: WebSocket object

Description

An object that represents a single WebSocket connection. The object can be used to send messages and close the connection, and to receive notifications when messages are received or the connection is closed.

Usage

WebSocket(...)

Arguments

...
For internal use only.

Details

WebSocket objects should never be created directly. They are obtained by passing an onWSOpen function to startServer.