|
本帖最后由 user1075 于 2024-9-14 18:02 编辑
小程序通过Socket.IO自定义协议 进行双向通信
抓包获取到的数据
wss://sockets.liangzi-ai.com/socket.io/?cid=liangzi-ai&sign=&uid=xxxxxxxx&EIO=3&transport=websocket
GET /socket.io/?cid=liangzi-ai&sign=&uid=xxxxxxxxxxxxxxxxxx=3&transport=websocket HTTP/1.1
Host: sockets.liangzi-ai.com
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x63090c0f)XWEB/11275
content-type: application/json
Upgrade: websocket
Origin: https://sockets.liangzi-ai.com
Sec-WebSocket-Version: 13
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Sec-WebSocket-Key: xxxxxxxxxxxxxxxxxx
|
|