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.


cvs-4dev1 year ago59 downloads
cvs-3dev2 years ago16 downloads
cvs-2dev2 years ago2 downloads
2.0.2-1177 days ago2,844 downloads
2.0.1-11 year ago19,127 downloads
2.0.0-21 year ago1,946 downloads
2.0.0-12 years ago3,557 downloads
1.2.1-12 years ago2,648 downloads
1.2.0-12 years ago46 downloads
1.1.6-12 years ago1,731 downloads
1.1.5-12 years ago228 downloads
1.1.4-12 years ago41 downloads
1.1.3-12 years ago73 downloads
1.1.2-12 years ago76 downloads
1.1.1-12 years ago73 downloads


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