android-components / mozilla.components.service.fretboard.source.kinto / KintoExperimentSource / getExperiments

getExperiments

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

Overrides ExperimentSource.getExperiments

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