lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

Copas is free software and uses the same license as Lua 5.1

Copas is available at http://www.keplerproject.org/copas/

Changes:
Copas 1.1.5 [07/Apr/2009]
* Fixed bug reported by Sam Roberts on the Kepler list (found due to
Xavante locking up on some POST requests)

Copas can be downloaded from its LuaForge page or using LuaRocks:

luarocks install copas

Comments are welcome!

André