File tree Expand file tree Collapse file tree
javascript/ql/src/experimental/SockJS Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,18 +8,18 @@ import javascript
88 * A model of the `SockJS` websocket data handler (https://sockjs.org).
99 */
1010module SockJS {
11+ /**
12+ * Access to user-controlled data object received from websocket
13+ * For example:
14+ * ```
15+ * server.on('connection', function(conn) {
16+ * conn.on('data', function(message) {
17+ * ...
18+ * });
19+ * });
20+ * ```
21+ */
1122 class SourceFromSocketJS extends RemoteFlowSource {
12- /**
13- * Access to user-controlled data object received from websocket
14- * For example:
15- * ```
16- * server.on('connection', function(conn) {
17- * conn.on('data', function(message) {
18- * ...
19- * });
20- * });
21- * ```
22- */
2323 SourceFromSocketJS ( ) {
2424 exists (
2525 DataFlow:: CallNode createServer , DataFlow:: CallNode connNode ,
You can’t perform that action at this time.
0 commit comments