Skip to main content

parse_client

Function parse_client 

Source
pub fn parse_client(text: &str) -> Result<ClientConfig, ConfigError>
Expand description

Reads a client file from its TOML text. The URL must be https: the server speaks TLS only.

ยงErrors

ConfigError when the text is not TOML, has a key a client file does not take, or names a URL that is not https.