add config for server transport type

This commit is contained in:
Stanley Dimant
2025-02-02 03:02:30 +01:00
parent 88d0ab2d99
commit 9af89200c8
4 changed files with 41 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
namespace MareSynchronos.MareConfiguration.Models;
using Microsoft.AspNetCore.Http.Connections;
namespace MareSynchronos.MareConfiguration.Models;
[Serializable]
public class ServerStorage
@@ -10,4 +12,5 @@ public class ServerStorage
public string ServerUri { get; set; } = string.Empty;
public bool UseOAuth2 { get; set; } = false;
public string? OAuthToken { get; set; } = null;
public HttpTransportType HttpTransportType { get; set; } = HttpTransportType.WebSockets;
}