DeviceAtlas C++ Api documentation
Public Member Functions | Public Attributes | List of all members
Mobi::Mtld::Da::HttpHeaders Struct Reference

HttpHeaders represents the evidence used to look up the DeviceAtlas for properties of a specific client. Each field of the evidence array represents the values of the headers used for the lookup of the tree at the same index in the DeviceAtlas. More...

#include <devatlas.h>

Inheritance diagram for Mobi::Mtld::Da::HttpHeaders:
Mobi::Mtld::Da::CommonHttpHeaders

Public Member Functions

 HttpHeaders (const char *userAgent, const char *acceptLanguage=0)
 same as below but with onle one 'evidence' call with multiple headers is encouraged More...
 
 HttpHeaders (const HeaderMap &headers, const char ***priorities=defaultHeaderPriorities)
 

Public Attributes

std::string evidence [TREEID_MAX]
 
std::string chevidence [TREEID_MAX]
 
std::string userlanguage
 
size_t uaindex
 
size_t uajsontreewalk
 
size_t chpltversion
 
size_t chplt
 

Detailed Description

HttpHeaders represents the evidence used to look up the DeviceAtlas for properties of a specific client. Each field of the evidence array represents the values of the headers used for the lookup of the tree at the same index in the DeviceAtlas.

Constructor & Destructor Documentation

◆ HttpHeaders()

Mobi::Mtld::Da::HttpHeaders::HttpHeaders ( const char *  userAgent,
const char *  acceptLanguage = 0 
)

same as below but with onle one 'evidence' call with multiple headers is encouraged

Parameters
userAgent
acceptLanguageoptional accept-language value
Deprecated:

The documentation for this struct was generated from the following files: