Use QueryParser for redirect and expose method for new clients

This commit is contained in:
Infi
2024-08-28 12:42:01 +02:00
parent 2d7d1c9615
commit 7b96b52217
4 changed files with 23 additions and 23 deletions
+1 -5
View File
@@ -1,12 +1,10 @@
using System.Text;
using ChatTwo.Http.MessageProtocol;
using ChatTwo.Http.MessageProtocol;
using WatsonWebserver.Core;
namespace ChatTwo.Http;
public class SSEConnection
{
private long Index;
private bool Stopping;
private readonly CancellationToken Token;
@@ -42,8 +40,6 @@ public class SSEConnection
Plugin.Log.Information($"Client disconnected: {ctx.Guid}");
return;
}
Index++;
}
}
catch (TaskCanceledException)