[Modify] Remove it

This commit is contained in:
sta 2021-11-26 21:13:26 +09:00
parent eb26537791
commit d4441dc899

View File

@ -452,20 +452,6 @@ namespace WebSocketSharp.Server
}
}
internal void Broadcast (
Opcode opcode, byte[] data, Dictionary<CompressionMethod, byte[]> cache
)
{
foreach (var session in Sessions) {
if (_state != ServerState.Start) {
_log.Error ("The service is shutting down.");
break;
}
session.Context.WebSocket.Send (opcode, data, cache);
}
}
internal bool Remove (string id)
{
lock (_sync)