gpt4 book ai didi

python - python 的 Websocket 库

转载 作者:太空狗 更新时间:2023-10-29 21:50:45 25 4
gpt4 key购买 nike

您好,我需要一个 python 中的 websocket 服务器,它支持 chrome 16(协议(protocol)版本 13)中使用的协议(protocol)。 Tornado 和 twisted 不起作用。 Websockify 有效,但我找不到它的任何文档。我需要最少的设置意味着更少的进口。请帮我解决这个问题,在此先感谢。

最佳答案

  • 也许你可以看看 pywebsocket ,它声称支持协议(protocol)版本 13 并且专为:

    The pywebsocket project aims to provide a WebSocket standalone server and a WebSocket extension for Apache HTTP Server, mod_pywebsocket.

  • Autobahn是 websockets 的另一个实现:

    Autobahn WebSockets for Python provides an implementation of the WebSockets protocol which can be used to build WebSockets clients and servers

  • ws4py : Websocket for python :

    Python library providing support for the WebSocket protocol defined in RFC 6455

关于python - python 的 Websocket 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8701444/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com