A comprehensive HTTP library for Lua supporting HTTP(S) 1.0, 1.1, and 2.0 for both client and server applications.
lua-http is a comprehensive HTTP library for Lua that supports HTTP(S) versions 1.0, 1.1, and 2.0 for both client and server applications. It solves the need for a robust, protocol-compliant networking library in Lua, enabling developers to build web clients, servers, and real-time applications with features like cookie management and WebSockets.
Lua developers building networked applications, such as web servers, API clients, or real-time services, who need reliable HTTP support across multiple protocol versions.
Developers choose lua-http for its extensive protocol support, optional asynchronous capabilities, and compatibility with all major Lua versions, including LuaJIT, making it a versatile and performant choice for Lua-based networking.
HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works with Lua 5.1, 5.2, 5.3, 5.4, and LuaJIT, ensuring wide environment support as stated in the README.
Supports optional async handling for DNS lookups and TLS, enabling efficient non-blocking network calls per the features list.
Compatible with HTTP(S) 1.0, 1.1, and 2.0, allowing use of modern web protocols directly in Lua.
Provides functionality for both building HTTP clients and servers, with built-in cookie management and WebSocket support.
Core dependency cqueues does not support Microsoft Windows, severely limiting platform compatibility as noted in the dependencies section.
Requires multiple external libraries (e.g., cqueues, luaossl, basexx), making installation and setup more involved and prone to issues.
Documentation generation requires pandoc, and the README is minimal, potentially steepening the learning curve for newcomers.