I'm learning about websockets and I've seen a few examples using the ws module that pass an express server to an http server and then pass the http server to the ws server. What does that do for you that simply listening with the websocket server doesn't? Is it just for routing in a more complex app, useless if just creating a websocket service/endpoint? I'm very confused.
Submitted March 08, 2017 at 03:38AM by aenimalius
No comments:
Post a Comment