问题
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