https://github.com/tokers/lua-resty-requests
这是一个基于 Cosocket API 实现的 HTTP client。包含一些特性,当然某些特性还不是很成熟。
- HTTP/1.0, HTTP/1.1 and HTTP/2 (WIP).
- SSL/TLS support.
- Chunked data support.
- Convenient interfaces to support features like json, authorization and etc.
- Stream interfaces to read request body.
- HTTP/HTTPS proxy.
- Latency metrics.
- Session support.
近期准备加下 socks5 的代理功能。
欢迎大家提交 PRs 和 Issues。 :)