Welcome! Please see the About page for a little more info on how this works.
We would like a more robust standard browser based REPL. A WebSocket implementation would be a significant step in that direction. We should assess https://github.com/TooTallNate/Java-WebSocket, it has few dependencies and appears well maintained.
_Comment made by: johnnewman
Working on a patch for this.
Some work has been completed to help us assess TooTallNate/Java-WebSocket. Here is a simple chat server:
https://gist.github.com/johnmn3/a845f2bf67ad877d957bccd7f9cefe8c
Here is a very simple implementation of Java-WebSocket in Weasel:
https://github.com/johnmn3/weasel/commit/e5eb062dca3dbf623ce1c683443f2a0b3768f749
I will be working with @bhauman on this patch. I'm available on slack for anyone interested in discussing design considerations but feel free to comment here with recommendations or questions.
WIP snapshot of JavaWebSocket assessment