Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

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.

3 Answers

0 votes
by

_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.

0 votes
by

_Comment made by: johnnewman

WIP snapshot of JavaWebSocket assessment

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-2626 (reported by dnolen)
...