PingUploadScheduler
public class PingUploadScheduler
This is a scheduler used to handle ping uploading by processing the pings from glean-core and using the
uploader specified in the Glean Configuration
.
This will typically be invoked by the appropriate scheduling mechanism to trigger uploading a ping to the server.
-
Initialize the ping scheduler from a Glean configuration object
Declaration
Swift
public init(configuration: Configuration)
Parameters
configuration
The Glean
Configuration
to use which contains the endpoint and http uploader