Skip to content

Commit

Permalink
Cleanup mtsc (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMacocian authored Nov 26, 2023
1 parent 4a1c731 commit ee6c36e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions GuildWarsPartySearch/Services/Feed/LiveFeedService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using MTSC.Common.WebSockets;
using Newtonsoft.Json;
using Newtonsoft.Json;
using System.Core.Extensions;
using System.Net.WebSockets;
using System.Text;
Expand Down Expand Up @@ -27,13 +26,6 @@ public async Task PushUpdate(Models.PartySearch partySearchUpdate, CancellationT
{
var payloadString = JsonConvert.SerializeObject(partySearchUpdate);
var payload = Encoding.UTF8.GetBytes(payloadString);
var websocketMessage = new WebsocketMessage
{
Data = payload,
FIN = true,
Opcode = WebsocketMessage.Opcodes.Text
};
var messageBytes = websocketMessage.GetMessageBytes();
await ExecuteOnClientsInternal(async client =>
{
try
Expand Down

0 comments on commit ee6c36e

Please sign in to comment.