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-4dev3 years ago67 downloads
cvs-3dev3 years ago16 downloads
cvs-2dev3 years ago2 downloads
2.0.2-11 year ago10,465 downloads
2.0.1-13 years ago30,136 downloads
2.0.0-23 years ago1,947 downloads
2.0.0-13 years ago3,576 downloads
1.2.1-13 years ago2,669 downloads
1.2.0-13 years ago47 downloads
1.1.6-13 years ago3,441 downloads
1.1.5-13 years ago250 downloads
1.1.4-13 years ago42 downloads
1.1.3-13 years ago75 downloads
1.1.2-13 years ago78 downloads
1.1.1-13 years ago75 downloads


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

Dependency for

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