mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:47:21 +01:00
add config for server transport type
This commit is contained in:
parent
88d0ab2d99
commit
9af89200c8
4 changed files with 41 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue