Qiniu-Http

qiniu-http docs.rs Run Test Cases GitHub release MIT licensed

概览

为更高层的 HTTP 客户端提供基础 HTTP 请求接口 HttpCaller(同时提供阻塞接口和异步接口,异步接口则需要启用 async 功能), 使不同的 HTTP 客户端基于相同的接口实现, 以便于七牛 API 调用层可以灵活切换 HTTP 客户端实现。 该接口库只关注 HTTP 调用相关逻辑,不包含七牛 API 调用相关逻辑。

安装

不启用异步接口

toml [dependencies] qiniu-http = "0.2.1"

启用异步接口

toml [dependencies] qiniu-http = { version = "0.2.1", features = ["async"] }

最低支持的 Rust 版本(MSRV)

1.60.0

联系我们

代码许可

This project is licensed under the [MIT license].