Coroutine Oriented Portable Asynchronous Services

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-2dev7 years ago46 downloads
1.2.1-17 years ago2,984 downloads
1.2.0-17 years ago33 downloads
1.1.6-17 years ago329 downloads
1.1.5-17 years ago180 downloads
1.1.4-17 years ago67 downloads
1.1.3-17 years ago95 downloads
1.1.2-17 years ago101 downloads
1.1.1-17 years ago66 downloads


Coxpcall >= 1.13
lua >= 5.1
LuaSocket >= 2.0

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