longPolling 0.0.4
pip install longPolling
客户端
单向传输
import longPolling
example=longPolling.client.Client(url, callback)
example.login(uername)
双向传输
import longPolling
example=longPolling.client.BothwayClient(url, callback)
example.login(uername)
example.send(data)
服务端
单向传输
import longPolling
example=longPolling.server.Server(host,port)
example.send(username,message)
双向传输
import longPolling
example=longPolling.server.BothwayServer(host,port,callback)
example.send(username,message)
关于作者
作者主页宽宽2007
pypilongPolling · PyPI
本项目在苟浩铭/长轮询
(gitee.com)上开源
帮助文档参见宽宽的帮助文档
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.