mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
Send all cookies to the websocket connection as the clearance token is now needed
This commit is contained in:
@@ -166,6 +166,11 @@ public class KfTokenService
|
||||
return cookie?.Value;
|
||||
}
|
||||
|
||||
public Dictionary<string, string> GetCookies()
|
||||
{
|
||||
return _cookies.GetAllCookies().ToDictionary(cookie => cookie.Name, cookie => cookie.Value);
|
||||
}
|
||||
|
||||
public async Task SaveCookies()
|
||||
{
|
||||
_logger.Debug("Saving cookies");
|
||||
|
||||
Reference in New Issue
Block a user