Skip to content

lipp/lua-websockets

Repository files navigation

About

This project provides Lua modules for Websocket Version 13 conformant clients and servers. Build Status Coverage Status

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

Clients are available in three different flavours:

  • synchronous
  • coroutine based (copas)

Dependencies

The client and server modules depend on:

  • luasocket
  • luabitop (if not using Lua 5.2 nor luajit)
  • luasec
  • copas (optionally)

Install

$ git clone https://github.com/brostosjoined/lua-websocket-client.git
$ cd lua-websocket-client
$ luarocks make rockspecs/lua-websocket-client-scm-1.rockspec

Minify

A squishy file for squish is provided. Creating the minified version (~10k) can be created with:

$ squish --gzip

The minifed version has be to be installed manually though.

About

Websockets for Lua.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10