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-6dev109 days ago31 downloads
cvs-4dev6 years ago84 downloads
cvs-3dev7 years ago16 downloads
cvs-2dev7 years ago3 downloads
4.4.0-147 days ago1,409 downloads
4.3.2-167 days ago604 downloads
4.3.1-179 days ago347 downloads
4.3.0-181 days ago98 downloads
4.2.0-194 days ago415 downloads
4.1.0-1106 days ago626 downloads
4.0.0-1133 days ago2,877 downloads
3.0.0-3238 days ago2,618 downloads
3.0.0-2239 days ago374 downloads
3.0.0-11 year ago4,834 downloads
2.0.2-15 years ago(revision: 2)63,295 downloads
2.0.1-16 years ago31,001 downloads
2.0.0-26 years ago1,967 downloads
2.0.0-17 years ago3,640 downloads
1.2.1-17 years ago2,716 downloads
1.2.0-17 years ago63 downloads
1.1.6-17 years ago27,260 downloads
1.1.5-17 years ago279 downloads
1.1.4-17 years ago57 downloads
1.1.3-17 years ago102 downloads
1.1.2-17 years ago105 downloads
1.1.1-17 years ago140 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-websockets, luaxpl, luaxpl, melipayamak, tango-complete, tango-complete, tango-copas, tango-copas, telegram, tethys, Xavante, Xavante