Android Websocket Headers

#1

the jar available posted on the autobahn website doent support this connect definition

https://github.com/crossbario/autobahn-android/blob/master/Autobahn/src/de/tavendo/autobahn/WebSocketConnection.java#L220

public void connect(String wsUri, String[] wsSubprotocols, WebSocket.ConnectionHandler wsHandler, WebSocketOptions options, List headers) throws WebSocketException {
}

Another thing is BasicNameValuePair has now been deprecated, from Android SDK need to update this.

0 Likes

#2

@Tobias Oberstein

http://stackoverflow.com/questions/23802721/method-to-send-httpheaders-from-android-autobahn-websocketconnection

ยทยทยท

On Monday, 21 December 2015 13:21:31 UTC+5:30, Chaitanya Duse wrote:

the jar available posted on the autobahn website doent support this connect definition

https://github.com/crossbario/autobahn-android/blob/master/Autobahn/src/de/tavendo/autobahn/WebSocketConnection.java#L220

public void connect(String wsUri, String[] wsSubprotocols, WebSocket.ConnectionHandler wsHandler, WebSocketOptions options, List headers) throws WebSocketException {
}

Another thing is BasicNameValuePair has now been deprecated, from Android SDK need to update this.

0 Likes