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-6dev66 days ago(revision: 2)7 downloads
cvs-4dev6 years ago84 downloads
cvs-3dev6 years ago16 downloads
cvs-2dev6 years ago3 downloads
3.0.0-166 days ago2,003 downloads
2.0.2-14 years ago(revision: 2)61,914 downloads
2.0.1-15 years ago30,840 downloads
2.0.0-26 years ago1,962 downloads
2.0.0-16 years ago3,637 downloads
1.2.1-16 years ago2,708 downloads
1.2.0-16 years ago61 downloads
1.1.6-16 years ago22,758 downloads
1.1.5-16 years ago272 downloads
1.1.4-16 years ago53 downloads
1.1.3-16 years ago95 downloads
1.1.2-16 years ago98 downloads
1.1.1-16 years ago125 downloads


binaryheap >= 0.4
Coxpcall >= 1.14
lua >= 5.1, < 5.4
LuaSocket >= 2.1
timerwheel >= 0.2

Dependency for

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