Expand description
Device classification from User-Agent strings and platform headers.
Extracts device_type, browser, and os from the raw User-Agent header
and the optional x-forge-platform header sent by client SDKs.
Structs§
- Device
Info - Parsed device info for a request.
Functions§
- parse
- Parse device info from the
x-forge-platformheader and User-Agent. - parse_
lowered - Parse device info from a pre-lowercased User-Agent string.