Open Vap0r1ze opened 4 months ago
listening on port 0 will allow the system to choose a free port for you, you'll just need to call wss.address() after the listening event fires in order to get the chosen port.
wss.address()
listening
listening on port 0 will allow the system to choose a free port for you, you'll just need to call
wss.address()
after thelistening
event fires in order to get the chosen port.