python-3.x - 多服务器
问题描述
我正在使用 python 中的 websockets 在多个服务器上进行聊天。我想根据用户连接的服务器对用户进行排序。为此,我需要一种方法来识别登录用户连接到哪个服务器。
解决方案
推荐阅读
- kotlin - 不能用 mockk 模拟 com.github.kittinunf.fuel.Fuel
- google-apps-script - 谷歌工作表脚本类型错误:无法从未定义中读取属性“源”。(第 3 行,文件“代码副本”)
- python-3.x - cvxpy.error.SolverError:解算器CBC未安装在Windows 10 python中?
- git - 推送时“远程主机关闭与 github.com 的连接”
- javascript - 如何在angularjs中清除uib-typeahead下拉列表
- sql - HIVE SQL 中的 REGEXP_SUBSTR 等效项?
- laravel - 如何检查不记名令牌与数据库中的令牌圣所相同
- azure - 在 ADF V2 中运行 cosmos 范围脚本
- python - 请问这个程序的错误在哪里?
- event-handling - 在 svelte 中处理 {#each} 块内的点击事件