headers: Headers {
"host": "xxxx.com",
"upgrade": "websocket",
"connection": "upgrade",
"origin": "http://localhost",
"sec-websocket-key": "S44rpbZqgjbDG/u9POxu1A==",
"sec-websocket-version": "13",
"accept-encoding": "gzip",
"user-agent": "okhttp/3.12.11",
"x-real-ip": "xxx",
"x-real-port": "44452",
"x-forwarded-proto": "https",
"custom": "ok",
} - 发布:2025-11-14 00:57
- 更新:2025-11-14 00:57
- 阅读:15
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Win11
HBuilderX类型: 正式
HBuilderX版本号: 4.86
手机系统: Android
手机系统版本号: Android 13
手机厂商: 小米
手机机型: note12 turbo
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
无需
无需
预期结果:
支持permessage-deflate
支持permessage-deflate
实际结果:
不支持permessage-deflate
不支持permessage-deflate
bug描述:
看到anroid上的ws是用okhttp3实现的,但它太老了,能在近期升级到okhttp5 以支持permessage-deflate吗?否则和其他端体验不一致。
0 个回复