gevent-socketio Documentation
Release 0.3.1index 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 年前3
gevent-socketio Documentation
Release 0.3.1gevent-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 年前3
Learning Socket.IOserver: 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
ThinkJS 2.1 Documentationmessages: { open: 'home/socketio/open', // works on Websocket connected. close: 'home/socketio/close', // works on Websocket closed. adduser: 'home/socketio/adduser', // works when adduser0 码力 | 148 页 | 1.69 MB | 1 年前3
ThinkJS 2.0 Documentationmessages: { open: 'home/socketio/open', // works on Websocket connected. close: 'home/socketio/close', // works on Websocket closed. adduser: 'home/socketio/adduser', // works when adduser0 码力 | 141 页 | 1.61 MB | 1 年前3
ThinkJS 2.2 Documentationmessages: { open: 'home/socketio/open', // works on Websocket connected. close: 'home/socketio/close', // works on Websocket closed. adduser: 'home/socketio/adduser', // works when adduser0 码力 | 156 页 | 2.62 MB | 1 年前3
Python 标准库参考指南 3.13 返回一个根据文件对象进行更新的摘要对象。 fileobj 必须是一个以二进制模式打开用于读取的文件型对象。它接受来自内置open(), BytesIO 实例, socket.socket.makefile() 创建的 SocketIO 及其他类似的文件对象。此函数也可能绕过 Python 的并直接使用来自fileno() 的文件描述符。在此函数返回或引发异常之后必须假定 fileobj 已处于未知状态。应当由调用方来负责关闭0 码力 | 2246 页 | 11.74 MB | 9 月前3
Python 标准库参考指南 3.11.10 返回一个根据文件对象进行更新的摘要对象。 fileobj 必须是一个以二进制模式打开用于读取的文件型对象。它接受来自内置open(), BytesIO 实例, socket.socket.makefile() 创建的 SocketIO 及其他类似的文件对象。此函数也可能绕 过 Python 的并直接使用来自fileno() 的文件描述符。在此函数返回或引发异常之后必须假定 fileobj 已处于未知状态。应当由调用方来负责关闭0 码力 | 2248 页 | 11.10 MB | 9 月前3
Python 标准库参考指南 3.12 返回一个根据文件对象进行更新的摘要对象。 fileobj 必须是一个以二进制模式打开用于读取的文件型对象。它接受来自内置open(), BytesIO 实例, socket.socket.makefile() 创建的 SocketIO 及其他类似的文件对象。此函数也可能绕过 Python 的并直接使用来自fileno() 的文件描述符。在此函数返回或引发异常之后必须假定 fileobj 已处于未知状态。应当由调用方来负责关闭0 码力 | 2253 页 | 11.81 MB | 9 月前3
Python 标准库参考指南 3.13 返回一个根据文件对象进行更新的摘要对象。 fileobj 必须是一个以二进制模式打开用于读取的文件型对象。它接受来自内置open(), BytesIO 实例, socket.socket.makefile() 创建的 SocketIO 及其他类似的文件对象。此函数也可能绕过 Python 的并直接使用来自fileno() 的文件描述符。在此函数返回或引发异常之后必须假定 fileobj 已处于未知状态。应当由调用方来负责关闭0 码力 | 2242 页 | 11.73 MB | 9 月前3
共 12 条
- 1
- 2













