If so, does anybody know which version it's scheduled to be supported in (in built-in Chrome Lite browser)? Also, is it currently supported on any of the alternative browsers for Android like FireFox or Opera Mini?
The WebSocket protocol paved the way to a truly realtime web. At the time of writing this article, the Android SDK does not have native support for WebSockets. However, it relies on the Java Development Kit (JDK), which includes support for WebSockets as part of javax. websocket package.
WebSocket, as an IETF standard, and with a W3C browser API, is fully supported by all modern browsers: Chrome 16 + (incl. Chrome for Android)
WebTransport is a new specification offering an alternative to WebSockets. For applications that need low-latency, event-driven communication between endpoints, WebSockets has been the go-to choice, but WebTransport may change that.
Websockets are largely obsolete because nowadays, if you create a HTTP/2 fetch request, any existing keepalive connection to that server is used, so the overhead that pre-HTTP/2 XHR connections needed is lost and with it the advantage of Websockets.
Will Android support WebSockets in an upcoming version?
Probably, given Google's HTML5 emphasis.
If so, does anybody know which version it's scheduled to be supported in (in built-in Chrome Lite browser)?
Google does not publish that sort of detail in advance of releases. Hence, you'll know about it when it ships, not sooner.
Also, is it currently supported on any of the alternative browsers for Android like FireFox or Opera Mini?
Firefox Mobile's FAQ does not list it among the HTML5 features it presently supports. I have no idea about other browsers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With