websocket在浏览器上的支持

本文概述了WebSocket技术在不同浏览器及服务器端的支持情况,包括客户端和服务器端的技术实现。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自: http://stackoverflow.com/questions/1253683/websocket-for-html5
[size=x-large]Client side[/size]

Hixie 75/76:
Chrome 4.0
Safari 5.0.2
iOS 4.2
Firefox 4.0 - support for WebSockets disabled. To enable it see here.
Opera 11 - with support disabled. To enable it see here.
HyBi-07+:
Chrome 14.0
Firefox 6.0 - prefixed: MozWebSocket
IE9, IE10 - via downloadable Silverlight extension
Hybi-10:
Chrome 14
Firefox 7
IE 10 (from Windows 8 developer preview)

Any browser with Flash can support WebSocket using the web-socket-js shim/polyfill.

See caniuse for the current status of WebSockets support in desktop and mobile browsers.

See the test reports from the WS testsuite included in Autobahn WebSockets for feature/protocol conformance tests.

[size=x-large]Server side[/size]

It depends on which language you use.

In Java/JEE:

Jetty 7.0 supports it (very easy to use)
GlassFish 3.0 (very low level and sometimes complex), Glassfish 3.1 has new refactored Websocket Support which is more developer friendly
Caucho Resin 4.0.2 (not yet tried)

Some other Java implementations:

Kaazing Gateway
jWebscoket
Netty
xLightWeb

In C#:

SuperWebSocket
Nugget
Alchemy-Websockets

In PHP:

phpwebsocket.
Extendible Web Socket Server
phpdaemon
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值