Skip to content

Commit 5a73d6f

Browse files
Update to 1.0.6
- Updated: Switch to RestSharp (vNext) - Updated: REST API client is now only created once (and when changes are made) - Removed: Synchronous methods (REST-API) were removed - Removed: Removed methods that are no longer required - Fixed: Deadlock during online check when remote station is offline and an FQDN is used - Fixed: Minor bugs fixed
1 parent 3f93fc6 commit 5a73d6f

11 files changed

Lines changed: 496 additions & 338 deletions

File tree

Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"Version": 1,
3+
"ProjectMap": {
4+
"141a5cfd-0d86-47b8-908c-718f585a3daa": {
5+
"ProjectGuid": "141a5cfd-0d86-47b8-908c-718f585a3daa",
6+
"DisplayName": "KlipperSharpWebApiTest",
7+
"ColorIndex": 0
8+
},
9+
"e9c9645b-c3b7-4727-9524-2870a4a01e5c": {
10+
"ProjectGuid": "e9c9645b-c3b7-4727-9524-2870a4a01e5c",
11+
"DisplayName": "KlipperSharpWebApi",
12+
"ColorIndex": 1
13+
}
14+
},
15+
"NextColorIndex": 2
16+
}
Binary file not shown.
387 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

source/KlipperSharpWebApi/KlipperSharpWebApi.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30406.217
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.32014.148
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KlipperSharpWebApi", "KlipperSharpWebApi\KlipperSharpWebApi.csproj", "{E9C9645B-C3B7-4727-9524-2870A4A01E5C}"
77
EndProject

source/KlipperSharpWebApi/KlipperSharpWebApi/Interfaces/IRestApiClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public interface IRestApiClient : INotifyPropertyChanged, IDisposable
2525
#endregion
2626

2727
#region Methods
28-
public Task CheckOnlineAsync(int Timeout = 10000, bool resolveDnsFirst = true);
29-
public Task CheckOnlineAsync(CancellationTokenSource cts, bool resolveDnsFirst = true);
28+
public Task CheckOnlineAsync(int Timeout = 10000);
29+
public Task CheckOnlineAsync(CancellationTokenSource cts);
3030
public bool CheckIfConfigurationHasChanged(KlipperClient temp);
3131
public void CancelCurrentRequests();
3232
#endregion

0 commit comments

Comments
 (0)