Skip to main content

长轮询(longPolling)

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)上开源

帮助文档参见宽宽的帮助文档

Metadata

Release files for longPolling 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for longPolling 0.0.4
File Size Uploaded Provenance Actions
longPolling-0.0.4.tar.gz 5.3 kB Without provenance Details for longPolling-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for longPolling 0.0.4
File Interpreter ABI Platform Actions
longPolling-0.0.4-py3-none-any.whl Python 3 none any Details for longPolling-0.0.4-py3-none-any.whl

Total release size: 11.8 kB

Release files / longPolling-0.0.4.tar.gz

Download URL longPolling-0.0.4.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d7047165aae3736932f8a4fdeb7003f2eb1dc237b86e9aaac8619cb79ae6ed79
BLAKE2b-256 checksum
How to use checksums
8b33f02ddbb32804489d14da870c505d4ff893ab8e6687e6dd7560948e107c70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / longPolling-0.0.4-py3-none-any.whl

Download URL longPolling-0.0.4-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c195bb775310346bf32b206186ccd40cb12d14a7554f6d69bdd89e1e53f967fd
BLAKE2b-256 checksum
How to use checksums
866de3b441eb0926cadedca04b4d2d7db31bf6c92d10886f7033b0d61a2f52a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for longPolling 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page