Hi, I would like to find out what communication protocols the different clients use. If you could help fill in the following table it will be great.
Client websocket http streaming http polling Java Javascript
Thanks
Printable View
Hi, I would like to find out what communication protocols the different clients use. If you could help fill in the following table it will be great.
Client websocket http streaming http polling Java Javascript
Thanks
Hi,
At present, only the JavaScript client libraries (for both web browsers and Node) use WebSockets, in addition to HTTP, while the other libraries use HTTP only. But support for WebSocket in the other libs, starting from Java, is on the go. This will be completely transparent to the application code, as the API doesn't change.
Consider that WebSockets are better than HTTP Streaming only for sending high-frequency messages FROM the client to the SERVER (see this slide).