package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Sep 18, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
New 创建带有统一默认配置的 resty 客户端。
客户端支持环境代理、HTTP/2、连接池和 Cookie Jar,请求总超时为五分钟。
调试模式下启用请求调试日志,resty 内部日志统一由 logx 输出。
Request 是 resty.Request 的类型别名。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.