Skip to main content

parse

Function parse 

Source
pub fn parse(
    user_agent: &str,
    platform_hint: Option<&str>,
    mobile_hint: Option<&str>,
) -> Device
Expand description

The device of a browser: user_agent and, when sent, the Sec-CH-UA-Platform and Sec-CH-UA-Mobile hints.