Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::device_detection Namespace Reference

Classes

class  Device
 The device data associated with a particular User-Agent string. More...

Functions

fastly::expected< std::optional< Device > > lookup (std::string_view user_agent)
 Look up the data associated with a particular User-Agent string.

Function Documentation

◆ lookup()

fastly::expected< std::optional< Device > > fastly::device_detection::lookup ( std::string_view user_agent)

Look up the data associated with a particular User-Agent string.

Examples
device_detection.cpp.