Close/terminate/kill server listening
Closed this issue · 1 comments
Josema commented
Probably is already asked, but I couldn't find it here or in sockjs-client documentation either.
Is there any way to close the server to stop listening. For testing, I need to stop the server and the process. I tried closing all the clients one by one, but the server still listening and the process never ends up.
brycekahle commented
Use the core close()
function on the http.Server
.