Rust

Client detection: browsers and their engines, HTTP libraries and native apps.

Contents

use utopia_user_agent::detection::client::client;
Rust
pub fn client(user_agent: &[u8]) -> Client<'_>

The client behind a user-agent string: the first rule that recognises it.

Specific browsers resolve before the engines they embed (Edge, Opera and the Chromium derivatives before Chrome), then libraries, then native apps.