relay_ua

Function parse_user_agent

source
pub fn parse_user_agent(user_agent: &str) -> UserAgent<'_>
Expand description

Returns the family and version of a user agent client.

Defaults to an empty user agent.