The devel/luacopas,lua52 port
lua52copas-1.1.6p3 – coroutine oriented portable asynchronous services for lua (cvsweb github mirror)
Description
Copas is a dispatcher based on coroutines that can be used by TCP/IP socket request/response 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. Since Copas is coroutine based, using it within a pcall or xpcall context does not work with Lua 5.1 yielding. If you need to use those functions we strongly suggest using Xavante's coxpcall, a coroutine safe version of the Lua 5.1 protected calls.WWW: http://keplerproject.github.io/copas/
Maintainer
The OpenBSD ports mailing-list
Categories
Run dependencies
Files
- /usr/local/share/doc/lua52copas-1.1.6p3/
- /usr/local/share/doc/lua52copas-1.1.6p3/copas.png
- /usr/local/share/doc/lua52copas-1.1.6p3/index.html
- /usr/local/share/doc/lua52copas-1.1.6p3/license.html
- /usr/local/share/doc/lua52copas-1.1.6p3/manual.html
- /usr/local/share/doc/lua52copas-1.1.6p3/reference.html
- /usr/local/share/lua/5.2/copas.lua