http请求库
Go to file
白茶清欢 5b41563619 状态码判断 2024-06-06 22:54:49 +08:00
cache rpc缓存增加缓存的能力 2024-06-03 18:42:46 +08:00
define 完成响应数据填充 2024-06-05 21:54:06 +08:00
validate 扩展事件定义 2024-06-01 18:41:26 +08:00
.gitignore 初始化项目 2024-05-24 12:30:20 +08:00
LICENSE Initial commit 2024-05-24 12:25:11 +08:00
README.md 完成client的构建 2024-05-31 18:00:24 +08:00
client.go 状态码判断 2024-06-06 22:54:49 +08:00
go.mod update go mod 2024-06-06 14:05:40 +08:00
go.sum update go mod 2024-06-06 14:05:40 +08:00
resty.go 设置请求header与请求url 2024-05-31 18:37:35 +08:00

README.md

httpclient

库作用

  • 对第三方接口发起请求

依赖基础库

配置说明

默认配置

  • AllowGetMethodPayload : 允许GET请求带Body, 默认值 true , 如需关闭, 可通过 HttpClient.GetRestyClient().SetAllowGetMethodPayload(false) 关闭

使用方式