web.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:reactive-architecture-python 作者: mendrugory 项目源码 文件源码
def callback(self, channel, method, header, body):
        machine = method.routing_key.split(".")[0]
        data = json.loads(body.decode("utf-8"))
        data['machine'] = machine
        try:
            self.write_message(data)
        except websocket.WebSocketClosedError as e:
            self.on_close()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号