Open noblemaster opened 9 years ago
Hi,
FYI there is only one protocol, it is the draft standard version 13. In production environments where users have a modern/recent browser this is the only version you will see. Take a look at https://tools.ietf.org/html/rfc6455, I have developed it verbatim from this document alone.
If you think framework does not work, I would need a test case written in Java that can prove your hypothesis. Alternatively, I think perhaps it is best to speak to the developer of the Java WebSocket library, it is much more likely there is a bug here.
Thanks, Niall
Hi,
I confirm it is working like a charm ! You can inspire form the webserver I wrote on top of the lib:
Let me just say that SimpleFramework is fantastic :)
In any case, I am having some troubles getting WebSockets to work correctly (using 6.0.1). Although I am able to connect to SimpleFramework's WebSocket communication sometimes fails (succeeds about 30% of the time - JUnit). I am connecting with the Java WebSocket library (https://github.com/TooTallNate/Java-WebSocket). I tried with different protocols to no avail.
It's little bit difficult to find documentation on SimpleFramework's WebSocket, so I am not so sure if I am setting everything up correctly? I was following the spring.xml here (I am doing everything in code): https://github.com/ngallagher/simpleframework/blob/master/simple-demo/simple-demo-chat/etc/spring.xml
Questions: