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-6dev1 year ago3 downloads
cvs-4dev5 years ago84 downloads
cvs-3dev5 years ago16 downloads
cvs-2dev5 years ago2 downloads
2.0.2-13 years ago(revision: 2)49,020 downloads
2.0.1-15 years ago30,729 downloads
2.0.0-25 years ago1,961 downloads
2.0.0-15 years ago3,622 downloads
1.2.1-15 years ago2,705 downloads
1.2.0-15 years ago58 downloads
1.1.6-15 years ago16,840 downloads
1.1.5-15 years ago268 downloads
1.1.4-15 years ago52 downloads
1.1.3-15 years ago93 downloads
1.1.2-15 years ago96 downloads
1.1.1-15 years ago119 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, ltl, lua-minittp, lua-websockets, luaxpl, luaxpl, melipayamak, tango-complete, tango-complete, tango-copas, tango-copas, telegram, tethys, Xavante, Xavante

Manifests