|
DeviceAtlas C++ Api documentation
|
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>
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 |
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.
| 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
| userAgent | |
| acceptLanguage | optional accept-language value |
1.8.14