Skip to main content

user_agent

Function user_agent 

Source
pub fn user_agent() -> &'static str
Expand description

Returns the HTTP user-agent value for this build.

Initialization occurs once on first access. The value combines product and version information into the process-wide client identifier.