Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork87
HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.
License
daurnimator/lua-http
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- Optionally asynchronous (including DNS lookups and TLS)
- Supports HTTP(S) version 1.0, 1.1 and 2
- Functionality for both client and server
- Cookie Management
- Websockets
- Compatible with Lua 5.1, 5.2, 5.3, 5.4 andLuaJIT
Can be found athttps://daurnimator.github.io/lua-http/
It's recommended to install lua-http by usingluarocks.This will automatically install run-time lua dependencies for you.
$ luarocks install http- cqueues >= 20161214 (Note: cqueues currently doesn't support Microsoft Windows operating systems)
- luaossl >= 20161208
- basexx >= 0.2.0
- lpeg
- lpeg_patterns >= 0.5
- binaryheap >= 0.3
- fifo
To use gzip compression you needone of:
To check cookies against a public suffix list:
If using lua < 5.3 you will need
- compat-5.3 >= 0.3
If using lua 5.1 you will need
- luabitop (comeswith LuaJIT) or abackported bit32
Clone the repo:
$ git clone https://github.com/daurnimator/lua-http.git$ cd lua-httpInstall dependencies
$ luarocks install --only-deps http-scm-0.rockspecLint the code (check for common programming errors)
$ luacheck .Run tests and view coverage report (install tools first)
$ busted -c$ luacov && less luacov.report.outInstall your local copy:
$ luarocks make http-scm-0.rockspec
Documentation is written in markdown and intended to be consumed bypandoc. See thedoc/ directory for more information.
About
HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors9
Uh oh!
There was an error while loading.Please reload this page.