gevent-socketio Documentation Release 0.3.1
index modules | gevent-socketio 0.3.1 documentation » Gevent-socketio documentation Introduction Socket.IO is a WebSocket-like abstraction that enables real-time communication between a browser and and a server. gevent-socketio is a Python implementation of the protocol. The reference server implementation of Socket.IO runs on Node.js and was developed by LearnBoost. There are now server implementations Only ~3 lines of code are required to tie-in gevent-socketio in your framework. Note: you need to use the gevent python WSGI server to use gevent- socketio. Namespaces: since you mostly have one websocket/socket0 码力 | 91 页 | 118.05 KB | 1 年前3gevent-socketio Documentation Release 0.3.1
gevent-socketio Documentation Release 0.3.1 Jeffrey Gelens,Alex Bourget,John Anderson March 19, 2015 Contents 1 Introduction 1 2 Concepts 3 3 Getting started 5 4 Examples 7 5 Security 9 6 API WebSocket-like abstraction that enables real-time communication between a browser and a server. gevent-socketio is a Python implementation of the protocol. The reference server implementation of Socket.IO runs Only ~3 lines of code are required to tie-in gevent-socketio in your framework. Note: you need to use the gevent python WSGI server to use gevent-socketio. Namespaces: since you mostly have one websocket/socket0 码力 | 23 页 | 117.07 KB | 1 年前3Learning Socket.IO
server: var express = require('express'); var socketio = require('socket.io'); var app = express(); var server = http.createServer(app); var io = socketio(server); io.on('connect', function (socket)0 码力 | 15 页 | 870.16 KB | 1 年前3
共 3 条
- 1