16 lines
455 B
C#
16 lines
455 B
C#
using System.Collections.Concurrent;
|
|
using System.Net.WebSockets;
|
|
|
|
namespace Yavsc.ViewModels.Streaming
|
|
{
|
|
public class LiveCastClient {
|
|
public string UserName { get; set; }
|
|
public WebSocket Socket { get; set; }
|
|
}
|
|
|
|
public class LiveCastMeta
|
|
{
|
|
public WebSocket Socket { get; set; }
|
|
public ConcurrentDictionary<string, WebSocket> Listeners { get; set; } = new ConcurrentDictionary<string, WebSocket>();
|
|
}
|
|
} |