public static Context WithChaosSettings(this Context context, GeneralChaosSetting options) { context[ChaosSettings] = options; return(context); }
public async Task UpdateGeneralChaosSettings(GeneralChaosSetting settings) { var response = await _client.PostAsync("/api/chaos/update", new JsonContent(settings)); response.EnsureSuccessStatusCode(); }