android-components / mozilla.components.service.fretboard / ExperimentSource / getExperiments

getExperiments

abstract fun getExperiments(snapshot: ExperimentsSnapshot): ExperimentsSnapshot (source)

Requests new experiments from the source, parsing the response into experiments

Parameters

client - Http client to use, provided by Fretboard

snapshot - list of already downloaded experiments (in order to process a diff response, for example)

Return modified list of experiments