【发布时间】:2014-05-22 09:24:06
【问题描述】:
我想将用户代理作为额外的标头发送。 这可在 Eric Butlers 库 https://github.com/codebutler/android-websockets 中找到。 想去高速公路虽然。 有什么想法吗?
【问题讨论】:
标签: android websocket autobahn
我想将用户代理作为额外的标头发送。 这可在 Eric Butlers 库 https://github.com/codebutler/android-websockets 中找到。 想去高速公路虽然。 有什么想法吗?
【问题讨论】:
标签: android websocket autobahn
您可以使用headers 参数设置在初始打开WebSocket 握手期间发送的额外HTTP 标头conenct - 请参阅here。
interface definition 中可能缺少这点(一个错误),但应该可以工作。
【讨论】: