diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -11,17 +11,5 @@ Run the example server: GUILE_LOAD_PATH="$PWD:$GUILE_LOAD_PATH" guile test.scm #+END_SRC -Then, open a web browser and run the following in the JavaScript -console: - -#+BEGIN_SRC javascript - var ws = new WebSocket("ws://localhost:9090"); - - ws.onmessage = function(message) { - console.log(message.data); - }; - - ws.send("hello, there!") -#+END_SRC - -If everything works, "!ereht ,olleh" will be written to the JavaScript console. +Then, open the =text.html= page in your web browser. If everything +works, "!ereht ,olleH" will be written to the JavaScript console. |