Cleaned code up. Added OBS & 7tv ws support. Added dependency injection. App loads from yml file.
This commit is contained in:
9
Seven/Socket/Context/ReconnectContext.cs
Normal file
9
Seven/Socket/Context/ReconnectContext.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace TwitchChatTTS.Seven.Socket.Context
|
||||
{
|
||||
public class ReconnectContext
|
||||
{
|
||||
public string? Protocol;
|
||||
public string Url;
|
||||
public string? SessionId;
|
||||
}
|
||||
}
|
12
Seven/Socket/Context/SevenHelloContext.cs
Normal file
12
Seven/Socket/Context/SevenHelloContext.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace TwitchChatTTS.Seven.Socket.Context
|
||||
{
|
||||
public class SevenHelloContext
|
||||
{
|
||||
public IEnumerable<SevenSubscriptionConfiguration>? Subscriptions;
|
||||
}
|
||||
|
||||
public class SevenSubscriptionConfiguration {
|
||||
public string? Type;
|
||||
public IDictionary<string, string>? Condition;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user