Fix abstract httpShockersettings
This commit is contained in:
parent
51746191e9
commit
3bbde48796
@ -3,7 +3,7 @@ using CShocker.Shockers.ShockerSettings.Abstract;
|
|||||||
|
|
||||||
namespace CShocker.Shockers.ShockerSettings;
|
namespace CShocker.Shockers.ShockerSettings;
|
||||||
|
|
||||||
public abstract record HttpShockerSettings(string[] ShockerIds, IntensityRange Intensity, DurationRange Duration, string ApiKey, string Endpoint) : AShockerSettings(ShockerIds, Intensity, Duration)
|
public record HttpShockerSettings(string[] ShockerIds, IntensityRange Intensity, DurationRange Duration, string ApiKey, string Endpoint) : AShockerSettings(ShockerIds, Intensity, Duration)
|
||||||
{
|
{
|
||||||
internal readonly HttpClient HttpClient = new ();
|
internal readonly HttpClient HttpClient = new ();
|
||||||
internal readonly string ApiKey = ApiKey, Endpoint = Endpoint;
|
internal readonly string ApiKey = ApiKey, Endpoint = Endpoint;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user