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-6dev1 year ago44 downloads
cvs-4dev8 years ago84 downloads
cvs-3dev9 years ago16 downloads
cvs-2dev9 years ago3 downloads
4.7.1-1100 days ago6,735 downloads
4.7.0-11 year ago25,966 downloads
4.6.0-11 year ago523 downloads
4.5.0-11 year ago173 downloads
4.4.0-11 year ago1,577 downloads
4.3.2-11 year ago633 downloads
4.3.1-11 year ago376 downloads
4.3.0-11 year ago127 downloads
4.2.0-11 year ago444 downloads
4.1.0-11 year ago655 downloads
4.0.0-11 year ago2,911 downloads
3.0.0-32 years ago2,653 downloads
3.0.0-22 years ago1,661 downloads
3.0.0-12 years ago4,859 downloads
2.0.2-16 years ago(revision: 2)64,875 downloads
2.0.1-18 years ago31,036 downloads
2.0.0-28 years ago1,993 downloads
2.0.0-19 years ago3,671 downloads
1.2.1-19 years ago2,749 downloads
1.2.0-19 years ago90 downloads
1.1.6-19 years ago35,073 downloads
1.1.5-19 years ago329 downloads
1.1.4-19 years ago86 downloads
1.1.3-19 years ago153 downloads
1.1.2-19 years ago155 downloads
1.1.1-19 years ago243 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-Async, copas-ev, copas-sse, CopasTimer, CopasTimer, cosy-client, ggram, harpseal, homie, ltl, lua-express, lua-long-polling, lua-minittp, lua-requests-async, lua-websockets, luaxpl, luaxpl, melipayamak, tango-complete, tango-complete, tango-copas, tango-copas, telegram, tethys, Xavante, Xavante