Update javascript/ql/src/experimental/SockJS/SockJS.qll

Fix comments

Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
kyprizel
2020-03-23 22:59:48 +03:00
committed by GitHub
parent b90ff5e84d
commit dec1b8b070

View File

@@ -8,18 +8,18 @@ import javascript
* A model of the `SockJS` websocket data handler (https://sockjs.org).
*/
module SockJS {
/**
* Access to user-controlled data object received from websocket
* For example:
* ```
* server.on('connection', function(conn) {
* conn.on('data', function(message) {
* ...
* });
* });
* ```
*/
class SourceFromSocketJS extends RemoteFlowSource {
/**
* Access to user-controlled data object received from websocket
* For example:
* ```
* server.on('connection', function(conn) {
* conn.on('data', function(message) {
* ...
* });
* });
* ```
*/
SourceFromSocketJS() {
exists(
DataFlow::CallNode createServer, DataFlow::CallNode connNode,