v 4.7.0 Updated: 1 year, 8 months ago
Coroutine Oriented Portable Asynchronous Services long_description 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.
https://luarocks.org/modules/tieske/copas
To install lua52-copas, paste this in macOS terminal after installing MacPorts
sudo port install lua52-copas
Installations | 1 |
Requested Installations | 0 |