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-6dev34 days ago3 downloads
cvs-4dev4 years ago84 downloads
cvs-3dev4 years ago16 downloads
cvs-2dev4 years ago2 downloads
2.0.2-12 years ago(revision: 2)25,397 downloads
2.0.1-14 years ago30,550 downloads
2.0.0-24 years ago1,954 downloads
2.0.0-14 years ago3,611 downloads
1.2.1-14 years ago2,693 downloads
1.2.0-14 years ago51 downloads
1.1.6-14 years ago9,675 downloads
1.1.5-14 years ago256 downloads
1.1.4-14 years ago45 downloads
1.1.3-14 years ago81 downloads
1.1.2-14 years ago84 downloads
1.1.1-14 years ago95 downloads

Dependencies

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

Dependency for

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

Manifests