Hi,
I'm trying to get the websocket server running with weblit. So far this is
what I've tried:
*local server = require('weblit-app')*
*local ws_handler = require('weblit-websocket')*
*require('weblit-app')*
*.bind({host="0.0.0.0",port=10000})*
*.use(require('weblit-websocket'))*
*.use(require('websocket-codec'))*
*.route({*
* method = "GET",*
* path = "/ws",*
*}, ws_handler )*
*.start()*
Server runs, but when I connect, I get a 404 when using "ws://" protocol.
I'm sure I am not doing this correctly, an tips? Docs a tad sparse.
Best.
--
You received this message because you are subscribed to the Google Groups
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.