WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

WURFL/cookies-uach-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookies-uach-demo

Perform device detection on cookies containing User-Agent Client Hints (UACH) using the WURFL API

This demo accompanies a series of blog posts regarding making User-Agent Client Hint Data available in CDN logs and performing device detection using this saved data. This program takes a cookie string (containing lengthbin-encoded UACH), decodes it and performs device detection using the WURFL InFuze API for Golang.

Requirements

Full documentation for the WURFL InFuze API for Golang is available here.

Usage

Prior to running the demo, please replace the placeholder WURFL download key (xxxxxxx) with your actual key in main.go. If you prefer to use a previously downloaded WURFL snapshot, please make the appropriate changes to the WURFL Engine configuration.

About

Perform device detection on cookies containing User-Agent Client Hints using the WURFL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages