socket.io-client-java icon indicating copy to clipboard operation
socket.io-client-java copied to clipboard

how to get session id to send messages

Open jiawade opened this issue 1 year ago • 0 comments

Hi, my websockt uri is: ws://192.168.0.1:19900/socket/?EIO=3&transport=websocket&sid=30101e05-abcc-41c5-b361-376a814fd580

If I want to send messages to the server, must hava a valid sid, so how to create connection and get the sid

My guess is to send an authentication token to the server when creating a connection, such as a Bearer type token

Does this library support my description

jiawade avatar Apr 14 '23 10:04 jiawade