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.

Versions

cvs-6dev71 days ago(revision: 3)4 downloads
cvs-4dev6 years ago84 downloads
cvs-3dev7 years ago16 downloads
cvs-2dev7 years ago3 downloads
3.0.0-371 days ago1,914 downloads
3.0.0-272 days ago212 downloads
3.0.0-1225 days ago4,833 downloads
2.0.2-15 years ago(revision: 2)62,462 downloads
2.0.1-16 years ago30,992 downloads
2.0.0-26 years ago1,965 downloads
2.0.0-17 years ago3,639 downloads
1.2.1-17 years ago2,709 downloads
1.2.0-17 years ago62 downloads
1.1.6-17 years ago25,196 downloads
1.1.5-17 years ago277 downloads
1.1.4-17 years ago56 downloads
1.1.3-17 years ago100 downloads
1.1.2-17 years ago103 downloads
1.1.1-17 years ago134 downloads

Dependencies

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

Dependency for

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

Manifests