junsec
from websocket import create_connection
while(1):
        ws = create_connection(\'wss://ha-cmim.cmcc-cs.cn:12501/ws/\')
        ws.send("Hello, World")
        result =  ws.recv()
        print("Received \'%s\'" % result)

  

不停建立websocket请求

分类:

技术点:

相关文章:

  • 2021-12-06
  • 2021-11-17
  • 2021-11-19
  • 2021-06-20
  • 2021-09-02
  • 2021-09-10
猜你喜欢
  • 2021-11-22
  • 2021-11-22
  • 2021-07-25
  • 2022-12-23
  • 2021-09-08
  • 2021-12-31
相关资源
相似解决方案