HttpPingUploader

public class HttpPingUploader

This class represents a ping uploader via HTTP.

This will typically be invoked by the appropriate scheduling mechanism to upload a ping to the server.

  • Initialize the HTTP Ping uploader from a Glean configuration object and a URLSession

    Declaration

    Swift

    public init(configuration: Configuration, session: URLSession)

    Parameters

    configuration

    The Glean Configuration to use.

    session

    A URLSession that will be reused to upload pings