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-6dev1 year ago44 downloads
cvs-4dev7 years ago84 downloads
cvs-3dev8 years ago16 downloads
cvs-2dev8 years ago3 downloads
4.7.0-1255 days ago14,365 downloads
4.6.0-1271 days ago511 downloads
4.5.0-1283 days ago161 downloads
4.4.0-1339 days ago1,565 downloads
4.3.2-1359 days ago621 downloads
4.3.1-11 year ago364 downloads
4.3.0-11 year ago115 downloads
4.2.0-11 year ago432 downloads
4.1.0-11 year ago643 downloads
4.0.0-11 year ago2,895 downloads
3.0.0-31 year ago2,640 downloads
3.0.0-21 year ago477 downloads
3.0.0-11 year ago4,849 downloads
2.0.2-16 years ago(revision: 2)64,247 downloads
2.0.1-17 years ago31,020 downloads
2.0.0-27 years ago1,982 downloads
2.0.0-18 years ago3,656 downloads
1.2.1-18 years ago2,733 downloads
1.2.0-18 years ago78 downloads
1.1.6-18 years ago31,401 downloads
1.1.5-18 years ago312 downloads
1.1.4-18 years ago74 downloads
1.1.3-18 years ago135 downloads
1.1.2-18 years ago138 downloads
1.1.1-18 years ago226 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-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