Fastly Compute C++ SDK
Loading...
Searching...
No Matches
device_detection.h File Reference
#include <fastly/error.h>
#include <fastly/sdk-sys.h>
#include <optional>
#include <string>
#include <string_view>

Go to the source code of this file.

Classes

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

Namespaces

namespace  fastly
namespace  fastly::device_detection

Functions

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.