Function normalize_user_agent

Source
pub fn normalize_user_agent(
    attributes: &mut Annotated<Attributes>,
    user_agent: Option<&str>,
    client_hints: ClientHints<&str>,
)
Expand description

Normalizes the user agent/client information into Attributes.

Does not modify the attributes if there is already browser information present, to preserve original values.