CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.2.1-dev (changelog, source)
Search

Member predicate SocketIOClient::SocketNode::getATargetServer

Gets a server this socket may be communicating with.

To avoid matching sockets with unrelated servers, we restrict the search to servers defined in the same npm package. Furthermore, the server is required to have a namespace with the same path as the namespace of this socket, if it can be determined.

ServerObject getATargetServer()