MCPcopy 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
32function stopServer() {
33 try {
34 wsServer.shutDown();
35 server.close();
36 }
37 catch(e) {
38 console.warn('stopServer threw', e);
39 }
40}
41
42module.exports = {
43 prepare: prepare,

Callers 2

request.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected