Module request

Source

Structs§

App
Information about an individual app that an update check is being performed for.
Event
An event that is being reported to the Omaha service.
GUID
The GUID used in Omaha protocol for sessionid and requestid.
OS
Information about the platform / operating system.
Ping
This is a status ping to the Omaha service.
Request
An Omaha protocol request.
RequestWrapper
This is a serialization wrapper for a Request, as a Request object serializes into a value, for an object, not an object that is ‘{“request”: {….} }’. This wrapper provides the request wrapping that Omaha expects to see.
UpdateCheck
This is an update check for the parent App object.

Enums§

EventErrorCode
The error code of the event. These are application specific.
EventResult
The result of event that is being reported. These are specified by the Omaha protocol.
EventType
The type of event that is being reported. These are specified by the Omaha protocol.
InstallSource
Enum of the possible reasons that this update request was initiated.

Constants§

HEADER_APP_ID
This is the key for the http request header that identifies the app id(s) that are included in this request.
HEADER_INTERACTIVITY
This is the key for the http request header that identifies whether this is an interactive or a background update (see InstallSource).
HEADER_UPDATER_NAME
This is the key for the http request header that identifies the ‘updater’ that is sending a request.