File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
javascript/ql/src/experimental/SockJS Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,18 @@ import javascript
8
8
* A model of the `SockJS` websocket data handler (https://sockjs.org).
9
9
*/
10
10
module 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
+ */
11
22
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
- */
23
23
SourceFromSocketJS ( ) {
24
24
exists (
25
25
DataFlow:: CallNode createServer , DataFlow:: CallNode connNode ,
You can’t perform that action at this time.
0 commit comments