Send all cookies to the websocket connection as the clearance token is now needed

This commit is contained in:
barelyprofessional
2026-02-08 20:12:41 -06:00
parent cdd309fa24
commit e7c309582a
4 changed files with 23 additions and 16 deletions

View File

@@ -2,8 +2,7 @@ namespace KfChatDotNetWsClient.Models;
public class ChatClientConfigModel
{
// XF session token. Sent as a cookie to auth the user
public string? XfSessionToken { get; set; }
public required Dictionary<string, string> Cookies { get; set; } = new();
// Currently wss://kiwifarms.net/chat.ws
public required Uri WsUri { get; set; }
public int ReconnectTimeout { get; set; } = 30;