发布于 2015-01-20 00:52:55 | 211 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Socket.IO

Socket.IO 实现了实时双向的基于事件的通讯机制。旨在让各种浏览器与移动设备上实现实时app功能,模糊化各种传输机制。


Socket.IO 1.3.0 发布,此版本改进内容如下:

服务器

Socket.IO 1.3.0 包括大量的 bug 修复,稳定性和性能提升,可以使用自定义 SSl 和重连接补偿参数配置客户端。

  • Fix tests on Node v0.11 (dba462) [rauchg]

  • Fixed socket.io test runs on windows (19c442) [rauchg]

  • null and undefined origins trigger the origins callback properly with origin value * (GH#1936) [drewblaisdell]

  • Updated debug version to 2.1.0 (GH#1926) [coderaiser]

  • Fixed typo in socket.io README (GH#1922) [smart--petea]

  • Fixed a typo in an error message (GH#1943) [eychu]

  • Added test for reconnection after server restarts (GH#1939) [rase-]

  • Updated year range in licence (GH#1938) [fay-jai]

  • Added tests to better ensure that volatile emits work as intended (GH#1903) [rase-]

  • Fixed socket.leave when leaving an unknown room (ca82c0) [defunctzombie]

  • Added tests for SSL certificate options in Node clients (GH#290) [rase-]

  • Fixed broken engine.io build due to invalid deps (GH#296) [rase-]

  • Correctly abort the ongoing data request when closing transport (GH#297) [lpinca]

客户端

  • Use faster, new Travis build env(GH#785) [joshk]

  • Reconnection fixes and improvements (GH#788) [mokesmokes]

  • Fix travis env for running browser tests on PRs [rauchg]

  • Fix url parsing when uri string is undefined (GH#797) [defunctzombie]

  • The socket object now has an id property pointing to the underlying engine.io socket.id (GH#799) [rase-]

  • Only call xhr.abort() on error cases when polling (GH#319) [samcday]

  • Added SSL options or Node clients (GH#356) [rase-]

  • Fixed browser tests on travis for engine.io-client [rauchg]

  • Fix default port detection when host is specified (GH#366) [defunctzombie]

  • Fix test runs on some IE browsers that fire too many open connections (GH#368) [rase-]

解析器

  • Greatly improved engine.io-parser documentation [grant]

  • Encoding payloads to binary only if the buffer contains binary (GH#37) [rase-]

  • Fixed parse error caused by the server encoding to strings if binary supported (GH#41) [rase-]

  • Use travis matrix for better browser test runs (GH#38) [rase-]

  • Allow sending binary in from old browsers as base64 (GH#36) [cvlchinet]

socket.io-redis

  • Fixed room memory leak by bumping socket.io-adapter version (GH#42) [barisusakli]

  • Fixed broken link in README (GH#35) [hannesvdvreken]

socket.io-adapter

  • Fix confusing comment in add (GH#21) [marcooliveira]

  • Call the callback on delAll (GH#20) [marcooliveira]

可以从 CDN grab 客户端:

<script src="https://cdn.socket.io/socket.io-1.3.2.js"></script>

Socket.IO 实现了实时双向的基于事件的通讯机制。旨在让各种浏览器与移动设备上实现实时app功能,模糊化各种传输机制。

Socket.IO 是跨平台,多种连接方式自动切换,做即时通讯方面的开发很方便,而且能和expressjs提供的传统请求方式很好的结合,即可以 在同一个域名,同一个端口提供两种连接方式:request/response, websocket(flashsocket,ajax…).



历史版本 :
Socket.IO 2.0 发布,实时应用程序框架
Socket.IO 1.4.1/1.4.2/1.4.3,支持 NativeScript
Socket.IO 1.3.6 发布,bug 修复版本
Socket.IO 1.3.5 发布,解析器修复
Socket.IO 1.3.4 发布,BUG 修复版本
Socket.IO 1.3.3 发布,修复解析器的 BUG
Socket.IO 1.3.0 发布
Socket.IO 1.2.1 发布
Socket.IO 1.2.0 发布,重要 bug 修复和 API 更新
Socket.IO 1.1.0 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务