Skip to content

Commit

Permalink
Use same authentication for dedicated as the Notification Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Oct 16, 2024
1 parent 85ff213 commit e98a078
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ public DedicatedRaidWebSocketClient()
{
Host = RequestHandler.Host.Replace("http", "ws");
SessionId = RequestHandler.SessionId;
Url = $"{Host}/fika/dedicatedraidservice/{SessionId}?";
Url = $"{Host}/fika/dedicatedraidservice/";

_webSocket = new WebSocket(Url)
{
WaitTime = TimeSpan.FromMinutes(1),
EmitOnPing = true
};

_webSocket.SetCredentials(SessionId, "", true);

_webSocket.OnOpen += WebSocket_OnOpen;
_webSocket.OnError += WebSocket_OnError;
_webSocket.OnMessage += (sender, args) =>
Expand Down

0 comments on commit e98a078

Please sign in to comment.