Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
473 views
in Technique[技术] by (71.8m points)

javascript - 哪些浏览器支持HTML5 WebSocket API?(What browsers support HTML5 WebSocket API?)

I am going to develop an instant messaging application that runs in the browser.

(我将开发一个在浏览器中运行的即时消息应用程序。)

What browsers support the WebSocket API ?

(哪些浏览器支持WebSocket API ?)

  ask by Sareuon translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Client side(客户端)

  • Hixie-75:

    (Hixie-75:)

    • Chrome 4.0 + 5.0

      (Chrome 4.0 + 5.0)

    • Safari 5.0.0

      (Safari 5.0.0)

  • HyBi-00/Hixie-76:

    (HyBi-00 / Hixie-76:)

  • HyBi-07+:

    (HyBi-07 +:)

  • HyBi-10:

    (HyBi-10:)

    • Chrome 14.0 + 15.0

      (Chrome 14.0 + 15.0)

    • Firefox 7.0 + 8.0 + 9.0 + 10.0 - prefixed: MozWebSocket

      (Firefox 7.0 + 8.0 + 9.0 + 10.0 - 前缀: MozWebSocket)

    • IE 10 (from Windows 8 developer preview)

      (IE 10(来自Windows 8开发者预览版))

  • HyBi-17/RFC 6455

    (HyBi-17 / RFC 6455)

    • Chrome 16

      (Chrome 16)

    • Firefox 11

      (Firefox 11)

    • Opera 12.10 / Opera Mobile 12.1

      (Opera 12.10 / Opera Mobile 12.1)

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

(任何带Flash的浏览器都可以使用web-socket-js shim / polyfill支持WebSocket。)

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

(有关桌面和移动浏览器中WebSockets支持的当前状态,请参阅caniuse 。)

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

(请参阅Autobahn WebSockets中包含的WS测试套件中的测试报告 ,以获取功能/协议一致性测试。)


Server side(服务器端)

It depends on which language you use.

(这取决于您使用的语言。)

In Java/Java EE:

(在Java / Java EE中:)

Some other Java implementations:

(其他一些Java实现:)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...