4

With node.js i can stream data to the client with its HTTP API. But when do I want to use HTTP to stream data and when do i want to use node.js sockets.io to do streaming?

1 Answer 1

4

I would use Socket.IO universally because it cleverly selects the most appropriate transport method for performing IO based on what's available to the browser.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.