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-6dev287 days ago35 downloads
cvs-4dev7 years ago84 downloads
cvs-3dev8 years ago16 downloads
cvs-2dev8 years ago3 downloads
4.7.0-1142 days ago6,316 downloads
4.6.0-1158 days ago496 downloads
4.5.0-1169 days ago146 downloads
4.4.0-1226 days ago1,550 downloads
4.3.2-1245 days ago607 downloads
4.3.1-1257 days ago350 downloads
4.3.0-1259 days ago101 downloads
4.2.0-1272 days ago418 downloads
4.1.0-1284 days ago629 downloads
4.0.0-1311 days ago2,881 downloads
3.0.0-31 year ago2,625 downloads
3.0.0-21 year ago410 downloads
3.0.0-11 year ago4,835 downloads
2.0.2-15 years ago(revision: 2)64,008 downloads
2.0.1-17 years ago31,004 downloads
2.0.0-27 years ago1,968 downloads
2.0.0-18 years ago3,642 downloads
1.2.1-18 years ago2,718 downloads
1.2.0-18 years ago64 downloads
1.1.6-18 years ago30,341 downloads
1.1.5-18 years ago284 downloads
1.1.4-18 years ago60 downloads
1.1.3-18 years ago107 downloads
1.1.2-18 years ago110 downloads
1.1.1-18 years ago145 downloads


binaryheap >= 0.4
Coxpcall >= 1.14
lua >= 5.1, < 5.5
LuaSocket >= 2.1, <= 3.0rc1-2

Dependency for

async-utils, chaboksms, ConcurrentLua, ConcurrentLua, Copas-Async, copas-ev, copas-sse, CopasTimer, CopasTimer, cosy-client, ggram, harpseal, homie, ltl, lua-minittp, lua-requests-async, lua-websockets, luaxpl, luaxpl, melipayamak, tango-complete, tango-complete, tango-copas, tango-copas, telegram, tethys, Xavante, Xavante