Websockets for Lua

“This project provides Lua modules for Websocket Version 13 conformant clients and servers.

The minified version is only ~10k bytes in size.

Clients are available in three different flavours:

  • synchronous
  • coroutine based (copas)
  • asynchronous (lua-ev)

Servers are available as two different flavours:

A webserver is NOT part of lua-websockets. If you are looking for a feature rich webserver framework, have a look at orbit or others. It is no problem to work with a “normal” webserver and lua-websockets side by side (two processes, different ports), since websockets are not subject of the ‘Same origin policy’…”