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-6dev2 years ago44 downloads
cvs-4dev8 years ago84 downloads
cvs-3dev9 years ago16 downloads
cvs-2dev9 years ago3 downloads
4.7.1-1287 days ago13,661 downloads
4.7.0-11 year ago25,973 downloads
4.6.0-11 year ago528 downloads
4.5.0-12 years ago177 downloads
4.4.0-12 years ago1,581 downloads
4.3.2-12 years ago637 downloads
4.3.1-12 years ago380 downloads
4.3.0-12 years ago132 downloads
4.2.0-12 years ago448 downloads
4.1.0-12 years ago659 downloads
4.0.0-12 years ago2,916 downloads
3.0.0-32 years ago2,658 downloads
3.0.0-22 years ago2,187 downloads
3.0.0-13 years ago4,861 downloads
2.0.2-17 years ago(revision: 2)65,990 downloads
2.0.1-18 years ago31,043 downloads
2.0.0-28 years ago1,995 downloads
2.0.0-19 years ago3,675 downloads
1.2.1-19 years ago2,759 downloads
1.2.0-19 years ago92 downloads
1.1.6-19 years ago38,248 downloads
1.1.5-19 years ago335 downloads
1.1.4-19 years ago90 downloads
1.1.3-19 years ago159 downloads
1.1.2-19 years ago161 downloads
1.1.1-19 years ago250 downloads

Dependencies

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, homie45, ltl, lua-express, lua-long-polling, lua-minittp, lua-requests-async, lua-websockets, luaxpl, luaxpl, melipayamak, neuro-game-sdk, tango-complete, tango-complete, tango-copas, tango-copas, telegram, tethys, Xavante, Xavante

Manifests