Home

Awesome

WSAPI

Overview

WSAPI is an API that abstracts the web server from Lua web applications. By coding against WSAPI your application can run on any of the supported servers and interfaces (currently CGI, FastCGI and Xavante, on Windows and UNIX-based systems).

WSAPI provides a set of helper libraries that help with request processing and output buffering. You can also write applications that act as filters that provide some kind of service to other applications, such as authentication, file uploads, request isolation, or multiplexing.

WSAPI's main influence is Ruby's Rack framework, but it was also influenced by Python's WSGI (PEP 333). It's not a direct clone of either of them, though, and tries to follow standard Lua idioms.

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

Status

Current version is 1.6.1. It supports both Lua 5.1 and Lua 5.2.

Download

WSAPI can be downloaded from its LuaForge page. You can also get WSAPI using LuaRocks:

luarocks install wsapi

Latest Sources and Bug Tracker

WSAPI CVS and bug tracker are available at its Github page.

History

WSAPI 1.7 [26/Feb/2018]

WSAPI 1.6.1 [21/Mar/2014]

WSAPI 1.6 [30/Jan/2013]

WSAPI 1.5 [21/Apr/2011]

WSAPI 1.4 [19/Nov/2010]

WSAPI 1.3.4 [23/Mar/2010]

WSAPI 1.3.3 [22/Mar/2010]

WSAPI 1.3.2 [19/Mar/2010]

WSAPI 1.3.1 [19/Mar/2010]

WSAPI 1.3 [18/Mar/2010]

WSAPI 1.2 [27/Oct/2009]

WSAPI 1.1 [04/Feb/2009]

WSAPI 1.0 [18/May/2008]

Credits#

WSAPI was designed and developed by Fabio Mascarenhas and Andre Carregal, and is maintained by Fabio Mascarenhas.

For more information please check the HTML documentation at /doc/us