Module glean_core::upload

source ·
Expand description

Manages the pending pings queue and directory.

  • Keeps track of pending pings, loading any unsent ping from disk on startup;
  • Exposes get_upload_task API for the platform layer to request next upload task;
  • Exposes process_ping_upload_response API to check the HTTP response from the ping upload and either delete the corresponding ping from disk or re-enqueue it for sending.

Structs

Enums

  • An enum representing the possible upload tasks to be performed by an uploader.
  • The result of an attempted ping upload.
  • Communication back whether the uploader loop should continue.

Functions

Type Aliases

  • A representation for request headers.