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",
}
看到anroid上的ws是用okhttp3实现的,但它太老了,能在近期升级到okhttp5 以支持permessage-deflate吗?否则和其他端体验不一致。
1 个回复
cchh (作者)
麻烦官方看一看