not able to connect to Stomp server
I'm not sure but when I checked the lib it first calls get request on websocket host address and awaits for 101 switch protocol. In my case even in postman it's not giving 101 but for some strange reason on java end it gives 101 and able to connect from Java lib. Can you look into it? or give me some idea why and what might be the issue I will create pull request after testing the code.
Have you tried with WebSocket from dart:io?
What errors do you see?
The socket we used has been using Stomp 1.0 and 1.1 while Websocket from dart:io uses 1.2 so not able to connect to the server. also, there's another thing in lib that I am not able to figure out was the cookies. I was not able to find, function to add headers to the request when we request for handshake/101 switch protocol. Although this lib says we just support 1.2 and above so I find it irrelevant from my end to open the issue but was hoping that we can get some solution to support old socket protocol. If you want we can close this issue for now.