relay_ua

Function parse_device

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

Returns the family, brand, and model of the device of the requesting client.

Defaults to an empty device.