/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package mozilla.components.service.experiments

import mozilla.components.concept.fetch.Client

/**
 * The Configuration class describes how to configure Experiments.
 *
 * @property httpClient The HTTP client implementation to use for uploading pings.
 * @property kintoEndpoint the endpoint to fetch experiments from, must be one of:
 * [ExperimentsUpdater.KINTO_ENDPOINT_DEV], [ExperimentsUpdater.KINTO_ENDPOINT_STAGING], or
 * [ExperimentsUpdater.KINTO_ENDPOINT_PROD]
 */
data class Configuration(
    val httpClient: Client,
    val kintoEndpoint: String = ExperimentsUpdater.KINTO_ENDPOINT_PROD
)
