Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Lua api for the mongrel2 zeromq handler interface
Lua
Branch: master

Merge pull request #16 from GunioRobot/clean

Hi! I cleaned up your code for you!
latest commit f6d2f50df6
@jsimmons authored
Failed to load latest commit information.
examples Some performance tunes
mongrel2 Remove whitespace [Gun.io WhitespaceBot]
rockspecs Bit of a tidy and refactor
tests Bit of a tidy and refactor
.gitignore Adding gitignore file
Makefile Remove whitespace [Gun.io WhitespaceBot]
README.md

README.md

mongrel2-lua

A mongrel2 backend handler for Lua, implemented in Lua, and based on the mongrel2 python backend api.

Versions are tagged and match the mongrel2 version they should work with. ie v1.3[.x] should work with mongrel2 version 1.3. HEAD is kept in rough sync with the latest changes in the mongrel2 trunk.

Dependencies

Installation

m2-lua ships with a very basic Makefile that should install the required files somewhere useful. > sudo make install > sudo make uninstall

Usage

One may be more interested in using one of the web frameworks that are listed here as this library is a low level interface.

Otherwise I won't try to describe how mongrel2 or the handlers work, for that there's the manual, however this should describe the basic api.

If in doubt, it's probably exactly the same as the python API.

There is a very basic demo in examples/test.lua and the code itself should be easy enough to follow.

Something went wrong with that request. Please try again.