mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-31 21:34:58 +00:00
When multiple UI applications were connecting using the same token, the actual websocket connection was getting lost, and could eventually be garbage-collected, leading to odd behavior from the UI. This is due to an existing client getting replaced and a reference to it lost. This has now been remedied, with each client getting a unique instance with a unique client ID.
23 lines
464 B
C#
23 lines
464 B
C#
using Independentsoft.Exchange;
|
|
|
|
namespace PepperDash.Essentials.WebSocketServer
|
|
{
|
|
/// <summary>
|
|
/// Represents a join token with the associated properties
|
|
/// </summary>
|
|
public class JoinToken
|
|
{
|
|
public string Code { get; set; }
|
|
|
|
public string RoomKey { get; set; }
|
|
|
|
public string Uuid { get; set; }
|
|
|
|
public string TouchpanelKey { get; set; } = "";
|
|
|
|
public string Token { get; set; } = null;
|
|
|
|
public string Id { get; set; }
|
|
}
|
|
}
|