How is engine.io different from socket.io?

后端 未结 2 814
忘掉有多难
忘掉有多难 2021-02-18 19:23

LearnBoost seems to have a new project called engine.io that in theory seems to be similar to socket.io. 1) Under what scenarios would you use one versus the other? 2) For new

2条回答
  •  旧时难觅i
    2021-02-18 20:01

    engine.io is the new core for socket.io, so use socket.io unless you want some other API :-) According to the author of both modules, engine will be integrated into socket.io 1.0: http://groups.google.com/group/socket_io/browse_thread/thread/6e759a508b231b4

    "What's next

    1.0 is right around the corner, which features our next-generation realtime core, Engine.IO. The 0.9 branch will only receive maintenance updates to ensure maximum stability. "

提交回复
热议问题