Oihana PHP Enums

ClientHintHeaderTrait

User-Agent Client Hints HTTP header names.

The Sec-CH-UA-* request headers expose user-agent details, replacing fine-grained parsing of User-Agent.

Mixed into HttpHeader.

Tags
author

Marc Alcaraz (ekameleon)

since
1.1.0

Table of Contents

Constants

SEC_CH_UA  : string = 'Sec-CH-UA'
`Sec-CH-UA` — User agent's branding and significant version (low entropy).
SEC_CH_UA_ARCH  : string = 'Sec-CH-UA-Arch'
`Sec-CH-UA-Arch` — Underlying CPU architecture (e.g. `x86`, `arm`).
SEC_CH_UA_BITNESS  : string = 'Sec-CH-UA-Bitness'
`Sec-CH-UA-Bitness` — CPU bitness (e.g. `64`).
SEC_CH_UA_FULL_VERSION_LIST  : string = 'Sec-CH-UA-Full-Version-List'
`Sec-CH-UA-Full-Version-List` — Full version of each brand in the user agent.
SEC_CH_UA_MOBILE  : string = 'Sec-CH-UA-Mobile'
`Sec-CH-UA-Mobile` — Whether the user agent runs on a mobile device (`?0` / `?1`).
SEC_CH_UA_MODEL  : string = 'Sec-CH-UA-Model'
`Sec-CH-UA-Model` — Device model identifier.
SEC_CH_UA_PLATFORM  : string = 'Sec-CH-UA-Platform'
`Sec-CH-UA-Platform` — Operating system / platform (e.g. `Windows`, `Android`).
SEC_CH_UA_PLATFORM_VERSION  : string = 'Sec-CH-UA-Platform-Version'
`Sec-CH-UA-Platform-Version` — Version of the operating system / platform.

Constants

SEC_CH_UA

`Sec-CH-UA` — User agent's branding and significant version (low entropy).

public string SEC_CH_UA = 'Sec-CH-UA'

SEC_CH_UA_ARCH

`Sec-CH-UA-Arch` — Underlying CPU architecture (e.g. `x86`, `arm`).

public string SEC_CH_UA_ARCH = 'Sec-CH-UA-Arch'

SEC_CH_UA_BITNESS

`Sec-CH-UA-Bitness` — CPU bitness (e.g. `64`).

public string SEC_CH_UA_BITNESS = 'Sec-CH-UA-Bitness'

SEC_CH_UA_FULL_VERSION_LIST

`Sec-CH-UA-Full-Version-List` — Full version of each brand in the user agent.

public string SEC_CH_UA_FULL_VERSION_LIST = 'Sec-CH-UA-Full-Version-List'

SEC_CH_UA_MOBILE

`Sec-CH-UA-Mobile` — Whether the user agent runs on a mobile device (`?0` / `?1`).

public string SEC_CH_UA_MOBILE = 'Sec-CH-UA-Mobile'

SEC_CH_UA_MODEL

`Sec-CH-UA-Model` — Device model identifier.

public string SEC_CH_UA_MODEL = 'Sec-CH-UA-Model'

SEC_CH_UA_PLATFORM

`Sec-CH-UA-Platform` — Operating system / platform (e.g. `Windows`, `Android`).

public string SEC_CH_UA_PLATFORM = 'Sec-CH-UA-Platform'

SEC_CH_UA_PLATFORM_VERSION

`Sec-CH-UA-Platform-Version` — Version of the operating system / platform.

public string SEC_CH_UA_PLATFORM_VERSION = 'Sec-CH-UA-Platform-Version'
On this page

Search results