forked from Proxmox/proxmox
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.
|
||||
//!
|
||||
//! 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};
|
||||
|
||||
@ -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)
|
||||
pub fn parse_proxy_url(http_proxy: &str) -> Result<ProxyConfig, Error> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user