Expand description
HTTPS telemetry submission client.
Submits anonymous telemetry payloads exclusively over HTTPS. HTTP URLs are rejected before any network access occurs.
§Design
- HTTPS-only: HTTP URLs are rejected at validation time, before any network connection is made.
- Fire-and-forget: Submission runs in a background task via
submit_fire_and_forgetand does not block the main pipeline. - Thank-you confirmation: On successful submission (HTTP 200), a thank-you message is displayed to the user.
§Validation Contract
- VAL-TELE-008: Submission exclusively over HTTPS, HTTP rejected.
- VAL-TELE-009: Thank-you confirmation displayed after successful submission.
Enums§
- Submit
Outcome - Possible outcomes of a telemetry submission attempt.
Constants§
- DEFAULT_
ENDPOINT - Default telemetry submission endpoint.
- THANK_
YOU_ MESSAGE - Thank-you message displayed after successful submission.
Functions§
- submit_
blocking - Submit a telemetry payload and return the outcome directly.
- submit_
fire_ and_ forget - Fire-and-forget telemetry submission.
- submit_
payload - Submit a telemetry payload to the given endpoint synchronously.
- validate_
https_ url - Validate that a URL uses the HTTPS scheme.