Rust

The entry point: a user-agent string and what detection finds in it.

Contents

use utopia_user_agent::UserAgent;
Rust
pub struct UserAgent<'a>

A lazily evaluated analysis of one user-agent string.

Each category is detected at most once, on first access. Bot detection is independent from client and device detection: a bot never suppresses the other results.