ws icon indicating copy to clipboard operation
ws copied to clipboard

What's the callback in "new ws.Server([options], [callback])"

Open ldshi opened this issue 10 years ago • 2 comments

What is the callback parameter in the interface new ws.Server([options], [callback])

ldshi avatar Oct 18 '16 04:10 ldshi

It's a callback that is called when the listening event is emitted on the underlying HTTP server.

lpinca avatar Oct 18 '16 06:10 lpinca

Closing this. Please comment back if you have more questions.

lpinca avatar Oct 19 '16 09:10 lpinca