Function latest_user_agent::get_latest_user_agent
source ยท pub async fn get_latest_user_agent(
browser: Browser,
os: OS,
offline_mode: bool,
) -> UserAgent
Expand description
Gets latest user agent for specified Browser and Operating System.
It never fails. If the Internet connection fails it logs the fact and estimates the agent string offline.