Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/theturtle32/WebSocket-Node
/ stopServer
Function
stopServer
test/shared/test-server.js:32–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
function
stopServer() {
33
try {
34
wsServer.shutDown();
35
server.close();
36
}
37
catch(e) {
38
console.warn(
'stopServer threw'
, e);
39
}
40
}
41
42
module.exports = {
43
prepare: prepare,
Callers
2
dropBeforeAccept.js
File · 0.85
request.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected