mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-08 18:05:02 +00:00

this can now be used separately Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
36 lines
918 B
Rust
36 lines
918 B
Rust
//! HTTP related utilities used by various Proxmox products.
|
|
|
|
#[cfg(feature = "websocket")]
|
|
pub mod websocket;
|
|
|
|
#[cfg(feature = "http-helpers")]
|
|
pub mod uri;
|
|
|
|
#[cfg(feature = "http-helpers")]
|
|
pub mod proxy_config;
|
|
#[cfg(feature = "http-helpers")]
|
|
pub use proxy_config::ProxyConfig;
|
|
|
|
#[cfg(feature = "http-helpers")]
|
|
mod http_options;
|
|
#[cfg(feature = "http-helpers")]
|
|
pub use http_options::HttpOptions;
|
|
|
|
#[cfg(any(feature = "client", feature = "client-sync"))]
|
|
pub mod client;
|
|
|
|
#[cfg(feature = "client-trait")]
|
|
mod client_trait;
|
|
#[cfg(feature = "client-trait")]
|
|
pub use client_trait::HttpClient;
|
|
|
|
#[cfg(feature = "rate-limiter")]
|
|
mod rate_limiter;
|
|
#[cfg(feature = "rate-limiter")]
|
|
pub use rate_limiter::{RateLimit, RateLimiter, RateLimiterVec, ShareableRateLimit};
|
|
|
|
#[cfg(feature = "rate-limited-stream")]
|
|
mod rate_limited_stream;
|
|
#[cfg(feature = "rate-limited-stream")]
|
|
pub use rate_limited_stream::RateLimitedStream;
|