glean / mozilla.telemetry.glean.net

Package mozilla.telemetry.glean.net

Types

BaseUploader

class BaseUploader : PingUploader

The logic for uploading pings: this leaves the actual upload implementation to the user-provided delegate.

HttpResponse

data class HttpResponse : UploadResult

A HTTP response code.

HttpURLConnectionUploader

class HttpURLConnectionUploader : PingUploader

A simple ping Uploader, which implements a "send once" policy, never storing or attempting to send the ping again.

PingUploader

interface PingUploader

The interface defining how to send pings.

RecoverableFailure

object RecoverableFailure : UploadResult

A recoverable failure.

UnrecoverableFailure

object UnrecoverableFailure : UploadResult

An unrecoverable upload failure.

UploadResult

sealed class UploadResult

The result of the ping upload.

UploadTaskTag

enum class UploadTaskTag

Type Aliases

HeadersList

typealias HeadersList = List<Pair<String, String>>

Store a list of headers as a String to String Pair, with the first entry being the header name and the second its value.