Copas

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.

Versions

cvs-2dev2 years ago16 downloads
1.2.1-12 years ago2,547 downloads
1.2.0-12 years ago16 downloads
1.1.6-12 years ago295 downloads
1.1.5-12 years ago146 downloads
1.1.4-12 years ago20 downloads
1.1.3-12 years ago45 downloads
1.1.2-12 years ago39 downloads
1.1.1-12 years ago32 downloads

Dependencies

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

Dependency for

ConcurrentLua, Copas-Async, copas-ev, CopasTimer, CopasTimer, cosy-client, harpseal, lua-websockets, luaxpl, luaxpl, tango-complete, tango-complete, tango-copas, tango-copas, tethys, Xavante, Xavante