{"repo":"ledgetech/lua-resty-http","free":true,"listed":false,"github":"https://github.com/ledgetech/lua-resty-http","clone":"git clone https://github.com/ledgetech/lua-resty-http.git","description":"Lua HTTP client cosocket driver for OpenResty / ngx_lua.","language":"Lua","stars":2079,"topics":["openresty","http-client","lua","nginx","nginx-lua","luajit","streaming","http"],"license":"BSD-2-Clause","category":"deployment-docker-iac","readme_excerpt":"lua-resty-http Lua HTTP client cosocket driver for OpenResty / ngx\\ lua. Status Production ready. Features HTTP 1.0 and 1.1 SSL Streaming interface to the response body, for predictable memory usage Alternative simple interface for single-shot requests without a manual connection step Chunked and non-chunked transfer encodings Connection keepalives Request pipelining Trailers HTTP proxy connections mTLS (requires ngx lua http module = v0.10.23) W3C trace context propagation via traceparent header ( = v0.18.0) API new connect set\\ proxy\\ options set\\ timeout set\\ timeouts set\\ keepalive get\\ reused\\ times close request request\\ uri request\\ pipeline parse\\ uri get\\ client\\ body\\ reader Response body\\ reader read\\ body read\\ trailers Deprecated These methods may be removed in future versions. connect\\ proxy ssl\\ handshake proxy\\ request proxy\\ response Installation This module is located at: https://luarocks.org/modules/pintsized/lua-resty-http Install it with: Appending the version to the luarocks installation command avoids migration conflicts. The lua-resty-openssl package is a prerequisite for all HTTP connections. Note : The OpenResty Package Manager (OPM) alternative is dead. No new versions can be uploaded there. Please migrate to luarocks instead. Usage There are two basic modes of operation: 1. Simple single-shot requests which require no manual connection management but which buffer the entire response and leave the connection either closed or back in the connection p","default_branch":null,"files":null,"tree":[],"storefront":"/r/ledgetech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ledgetech/lua-resty-http/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}