WebSocket.IO

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-15 14:59:11

软件介绍

WebSocket.IO 是 WebSocket 服务器端的抽象,用于 Socket.IO。广泛支持 WebSocket 协议和规范。

示例代码:

var ws = require('websocket.io')
  , server = ws.listen(3000)

server.on('connection', function (socket) {
  socket.on('message', function () { });
  socket.on('close', function () { });
});

Features

  • Fast

  • Minimalistic

    • Offers an integration API for higher-level impls to handle authorization, routing, etc

  • Widest support of protocols

    • Draft-75

    • Draft-76

    • Draft-00

    • Protocol version 7

    • Protocol version 8

    • Protocol version 13

  • Written for Node 0.6

本文地址:https://codercto.com/soft/d/3640.html

Data Structures and Algorithms with JavaScript

Data Structures and Algorithms with JavaScript

Michael McMillan / O'Reilly Media / 2014-2-22 / USD 28.51

If you’re using JavaScript on the server-side, you need to implement classic data structures that conventional object-oriented programs (such as C# and Java) provide. This practical book shows you how......一起来看看 《Data Structures and Algorithms with JavaScript》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具