mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-30 00:28:13 +00:00
doc fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
44a2cab602
commit
242a6ab216
@ -1,6 +1,6 @@
|
|||||||
//! HTTP proxy configuration.
|
//! HTTP proxy configuration.
|
||||||
//!
|
//!
|
||||||
//! This can be used with the [`SimpleClient`](crate::client::SimpleClient).
|
//! This can be used with the [`SimpleHttp`](crate::client::SimpleHttp).
|
||||||
|
|
||||||
use anyhow::{bail, format_err, Error};
|
use anyhow::{bail, format_err, Error};
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ impl ProxyConfig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parse proxy configuration string [http://]<host>[:port]
|
/// Parse proxy configuration string `[http://]<host>[:port]`
|
||||||
///
|
///
|
||||||
/// Default port is 1080 (like curl)
|
/// Default port is 1080 (like curl)
|
||||||
pub fn parse_proxy_url(http_proxy: &str) -> Result<ProxyConfig, Error> {
|
pub fn parse_proxy_url(http_proxy: &str) -> Result<ProxyConfig, Error> {
|
||||||
|
Loading…
Reference in New Issue
Block a user