python Django websocket 实时消息推送

上传者: xianailili | 上传时间: 2019-12-21 22:00:49 | 文件大小: 170KB | 文件类型: zip
Django1.9.2 websocket 实时消息推送 服务端主动推送 调用 send(username, title, data, url) username:用户名 title:消息标题 data:消息内容,ulr:消息内容 ulr

文件下载

资源详情

[{"title":"( 75 个子文件 170KB ) python Django websocket 实时消息推送","children":[{"title":"HelloWorld","children":[{"title":"MANIFEST.in <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"README.rst <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"Vagrantfile <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"init.sh <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"HelloWorld","children":[{"title":"__init__.pyc <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"__init__.cpython-35.pyc <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"wsgi.cpython-35.pyc <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"settings.cpython-35.pyc <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"urls.cpython-35.pyc <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"views.cpython-35.pyc <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"urls.pyc <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"wsgi.pyc <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"wsgi.py <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"settings.py <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"views.pyc <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"settings.pyc <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"views.py <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"urls.py <span style='color:#111;'> 934B </span>","children":null,"spread":false}],"spread":false},{"title":"CHANGES.rst <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"index.html <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"static","children":[{"title":"iziToast","children":[{"title":"css","children":[{"title":"htmleaf-demo.css <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"iziToast.min.css <span style='color:#111;'> 22.15KB </span>","children":null,"spread":false},{"title":"iziToast.css <span style='color:#111;'> 40.92KB </span>","children":null,"spread":false},{"title":"demo.css <span style='color:#111;'> 20.72KB </span>","children":null,"spread":false},{"title":"normalize.css <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"related","children":[{"title":"2.jpg <span style='color:#111;'> 22.64KB </span>","children":null,"spread":false},{"title":"1.jpg <span style='color:#111;'> 22.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"img","children":[{"title":"avatar.jpg <span style='color:#111;'> 11.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"fonts","children":[{"title":"icomoon.woff <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"icomoon.svg <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"icomoon.eot <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"icomoon.ttf <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"iziToast.js <span style='color:#111;'> 18.76KB </span>","children":null,"spread":false},{"title":"websocket.js <span style='color:#111;'> 981B </span>","children":null,"spread":false},{"title":"iziToast.min.js <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false},{"title":"jquery-1.11.0.min.js <span style='color:#111;'> 94.12KB </span>","children":null,"spread":false},{"title":"demo.js <span style='color:#111;'> 13.77KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"db.sqlite3 <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"dataSources.xml <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 10B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"HelloWorld.iml <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 23.67KB </span>","children":null,"spread":false},{"title":"dataSources.local.xml <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 404B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 101B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"manage.py <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":"dwebsocket","children":[{"title":"websocket.py <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"factory.cpython-35.pyc <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"websocket.cpython-35.pyc <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"decorators.cpython-35.pyc <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"middleware.cpython-35.pyc <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"__init__.cpython-35.pyc <span style='color:#111;'> 184B </span>","children":null,"spread":false}],"spread":false},{"title":"middleware.py <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"decorators.py <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 27B </span>","children":null,"spread":false},{"title":"factory.py <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"backends","children":[{"title":"__pycache__","children":[{"title":"__init__.cpython-35.pyc <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"uwsgi","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"factory.py <span style='color:#111;'> 987B </span>","children":null,"spread":false}],"spread":false},{"title":"default","children":[{"title":"websocket.py <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"protocols.py <span style='color:#111;'> 9.60KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"protocols.cpython-35.pyc <span style='color:#111;'> 8.93KB </span>","children":null,"spread":false},{"title":"factory.cpython-35.pyc <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"websocket.cpython-35.pyc <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"__init__.cpython-35.pyc <span style='color:#111;'> 172B </span>","children":null,"spread":false}],"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"factory.py <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

  • weixin_41674002 :
    请说明django版本 及其环境版本。
    2019-12-24
  • lhj153 :
    django 2.2好像用不了
    2019-05-13
  • qq_38489665 :
    .....不错 学习了
    2019-05-01
  • 我怎么感受不到你 :
    不错 学习了
    2019-01-30
  • 潜_藏 :
    真是我需要的东西,谢谢啦
    2018-09-19

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明