Which Browsers Support the HTML5 WebSocket API?
Developing an instant messaging application for the browser requires understanding which browsers support the WebSocket API. This technology allows for real-time bidirectional communication over a single TCP connection, enabling instant message functionality.
Client-Side Support
-
Hixie-75: Chrome 4.0 5.0, Safari 5.0.0
-
HyBi-00/Hixie-76: Chrome 6.0 - 13.0, Safari 5.0.2 5.1, iOS 4.2 iOS 5
-
HyBi-07 : Chrome 14.0, Firefox 6.0 (prefixed: MozWebSocket), IE 9 (via Silverlight extension)
-
HyBi-10: Chrome 14.0 15.0, Firefox 7.0 8.0 9.0 10.0 (prefixed: MozWebSocket), IE 10
-
HyBi-17/RFC 6455: Chrome 16, Firefox 11, Opera 12.10 / Opera Mobile 12.1
Browsers with Flash support can also utilize WebSocket through the web-socket-js shim.
Server-Side Support
Server-side support depends on the programming language used:
Java/Java EE
- Jetty, GlassFish, Caucho Resin, Tomcat, JSR 356
Other Java Implementations
- Kaazing Gateway, jWebSocket, Netty, xLightWeb, Webbit, Atmosphere, Grizzly, ActiveMQ, Camel
C#
- XSockets.NET, SuperWebSocket, Nugget, Alchemy-Websockets, Fleck, SignalR
PHP
- Ratchet, phpwebsocket, Extendible Web Socket Server, phpdaemon
Python
- pywebsockets, websockify, gevent-websocket, gevent-socketio, flask-sockets, Autobahn, Tornado
Node.js
- Socket.io, sockjs, WebSocket-Node
Vert.x (Node.x)
- Multiple languages supported (Ruby, Java, Groovy, Javascript, Scala, etc.)
- True threading
- Supports multiple network protocols
The above is the detailed content of Which Browsers Support the HTML5 WebSocket API?. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn