Copas

Coroutine Oriented Portable Asynchronous Services

$ luarocks install copas

Copas is a dispatcher based on coroutines that can be used by
TCP/IP servers. It uses LuaSocket as the interface with the
TCP/IP stack. A server registered with Copas should provide a
handler for requests and use Copas socket functions to send
the response. Copas loops through requests and invokes the
corresponding handlers. For a full implementation of a Copas
HTTP server you can refer to Xavante as an example.

Versions

cvs-4dev1 year ago46 downloads
cvs-3dev1 year ago15 downloads
cvs-2dev1 year ago1 download
2.0.1-11 year ago13,710 downloads
2.0.0-21 year ago1,931 downloads
2.0.0-11 year ago3,532 downloads
1.2.1-11 year ago2,614 downloads
1.2.0-11 year ago28 downloads
1.1.6-11 year ago774 downloads
1.1.5-11 year ago195 downloads
1.1.4-11 year ago22 downloads
1.1.3-11 year ago43 downloads
1.1.2-11 year ago43 downloads
1.1.1-11 year ago43 downloads

Dependencies

Coxpcall >= 1.14
lua >= 5.1, < 5.4
LuaSocket >= 2.1

Dependency for

ConcurrentLua, Copas-Async, copas-ev, CopasTimer, CopasTimer, cosy-client, harpseal, lua-websockets, luaxpl, luaxpl, tango-complete, tango-complete, tango-copas, tango-copas, tethys, Xavante, Xavante

Manifests