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

3.0.0-22 years ago(revision: 3)16 downloads

Dependencies

binaryheap >= 0.4
Coxpcall >= 1.14
lua >= 5.1, < 5.5
LuaSocket >= 2.1
timerwheel >= 0.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, tango-complete, tango-complete, tango-copas, tango-copas, telegram, tethys, Xavante, Xavante