Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Lua api for the mongrel2 zeromq handler interface

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 rockspecs
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 config.lua
Octocat-spinner-32 connection.lua
Octocat-spinner-32 init.lua
Octocat-spinner-32 request.lua
Octocat-spinner-32 util.lua
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. Generated API documentation is on the TODO list.

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.

Watch this space for links to proper documentation. I am working on it!

Something went wrong with that request. Please try again.