Yes, sorry for the lack of docs.  I'll write up some now.

While you wait, you can see how I'm using it:
https://github.com/creationix/virgo-proto/blob/master/master.lua#L3

On Mon, May 11, 2015 at 12:54 PM, develephant <[email protected]>
wrote:

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

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

Reply via email to