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

Member predicate SocketIOClient::SocketObject::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()