lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Why WebSocket instead of HTTP? This is an honest question.

Because the syncing protocol has a lot of back and forth.  This would be pretty slow with plain HTTP.  Also I like using websocket for nearly everything I design.

I suppose something like git's pack protocol over http could be used, but it would require some changes to how packages are published in lit.


Also I have a lot of plain http interfaces for people who want that. It's somewhat self documenting at http://lit.luvit.io/.  View with jsonview installed in your browser.

On Thu, Feb 18, 2016 at 6:29 PM, Jay Carlson <nop@nop.com> wrote:

> On 2016-02-18, at 5:02 PM, Tim Caswell <tim@creationix.com> wrote:
>
> So with lit setting up a local proxy server is as simple as `lit serve`.
>
> If you have an upstream set (which by default points to wss://lit.luvit.io/),

Why WebSocket instead of HTTP? This is an honest question.

Jay