Expand description
xhttp - HTTP 客户端模块
基于 reqwest 封装,提供全局 HTTP 客户端和便捷请求方法。
Re-exports§
pub use client::build_client;pub use client::c;pub use client::delete;pub use client::get;pub use client::head;pub use client::patch;pub use client::post;pub use client::put;pub use config::XHttpConfig;
Modules§
Functions§
- register_
hook - 注册 HTTP 客户端 Hook(幂等,多次调用只注册一次)