Websockets and cookies in Android

一个人想着一个人 提交于 2019-12-02 02:33:15

问题


I am developing an Android application and I need a Websockets framework that allows me to send cookies in the first connection of the Websocket(not in each message).

I've tried Autobahn and Java-WebSocket but they are not sending my cookies and they got no cookies support. What can I do? I don't think a WebView is a good solution for my app, since I need a service in the background always sending some messages to the Websocket.

Thank you in advance!

来源:https://stackoverflow.com/questions/22692763/websockets-and-cookies-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!