We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9952575 + b2ea8c9 commit 03c81a8Copy full SHA for 03c81a8
src/Kevsoft.WLED/IWLedClient.cs
@@ -0,0 +1,18 @@
1
+namespace Kevsoft.WLED;
2
+
3
+public interface IWLedClient
4
+{
5
+ Task<WLedRootResponse> Get();
6
7
+ Task<StateResponse> GetState();
8
9
+ Task<InformationResponse> GetInformation();
10
11
+ Task<string[]> GetEffects();
12
13
+ Task<string[]> GetPalettes();
14
15
+ Task Post(WLedRootRequest request);
16
17
+ Task Post(StateRequest request);
18
+}
src/Kevsoft.WLED/WLedClient.cs
@@ -1,6 +1,6 @@
namespace Kevsoft.WLED;
-public sealed class WLedClient
+public sealed class WLedClient : IWLedClient
{
private readonly HttpClient _client;
0 commit comments