Skip to main content

agent

Function agent 

Source
pub fn agent() -> &'static Agent
Expand description

One agent for every client: the platform certificate store (so a proxy certificate the system trusts is accepted), HTTPS_PROXY and NO_PROXY from the environment, and a 30 s timeout. A failure status is returned as a response, so a client can read the service’s error message.