How to set basic authorization in android?
in mSocket = IO.socket(Constants.CHAT_SERVER_URL) i want to send basic authorization details "Authorization","Basic 1234567890" please explain me how to send?
I have never tried basic authentication with socket.io, but maybe it's possible since Java client can send http headers. Please see the doc https://github.com/socketio/engine.io-client-java#extra-features-only-for-java-client .
Can you please tell me the code to check authorization at the server?
Can you please tell me the code to check authorization at the server?
you can Find it here https://github.com/socketio/socket.io-client-java/issues/105