Interface: UserAgent
@divine/web-service.UserAgent
Information about the remote client that issued the WebRequest.
Properties
browser
• browser: Object
Name and version of the browser/user agent.
Type declaration
| Name | Type | 
|---|---|
| major? | string | 
| name? | string | 
| version? | string | 
Defined in
cpu
• cpu: Object
The CPU architecture the client is running on.
Type declaration
| Name | Type | 
|---|---|
| architecture? | "68k"|"amd64"|"arm"|"arm64"|"avr"|"ia32"|"ia64"|"irix"|"irix64"|"mips"|"mips64"|"pa-risc"|"ppc"|"sparc"|"spark64" | 
Defined in
device
• device: Object
Information about the device the user agent is running on.
Type declaration
| Name | Type | 
|---|---|
| model? | string | 
| type? | "console"|"mobile"|"smarttv"|"tablet"|"wearable"|"embedded" | 
| vendor? | string | 
Defined in
engine
• engine: Object
The name and version of the HTML rendering engine.
Type declaration
| Name | Type | 
|---|---|
| name? | string | 
| version? | string | 
Defined in
os
• os: Object
The name and version of the client operating system.
Type declaration
| Name | Type | 
|---|---|
| name? | string | 
| version? | string | 
Defined in
ua
• Optional ua: string
The full user agent string, taken from the user-agent HTTP request header.