推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
bazzi91666666
V2EX  ›  Python

web socket 一连接上就断开?

  •  
  •   bazzi91666666 · Feb 23, 2018 · 6441 views
    This topic created in 3148 days ago, the information mentioned may be changed or developed.

    服务端用的 flask_socketio, 客户端参照 flask_socketio 的官方文档引用 cdn.cloudflare.com/ajax/libs/socket.io/1.3.6/socket.io.min.js 这个 Socket.IO 库连接,没有问题,然鹅用 websocket 测试工具http://www.blue-zero.com/WebSocket/ 测试发现,一连接上就断开,请教各位大大

    3 replies  •  2018-02-25 20:41:18 +08:00
    PureWhite
        1
    PureWhite  
       Feb 23, 2018
    请搜索并阅读《提问的智慧》
    rookiebulls
        2
    rookiebulls  
       Feb 23, 2018 via iPhone
    客户端只能用 socketio
    lolizeppelin
        3
    lolizeppelin  
       Feb 25, 2018 via Android
    Python 有 websocket 客户端
    用这来调试服务端 调好了剩下都是 js 的事情

    不用管鹅厂什么测试工具
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5511 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 01:37 · PVG 09:37 · LAX 18:37 · JFK 21:37
    ♥ Do have faith in what you're doing.