[Modify] Remove it

This commit is contained in:
sta 2021-11-26 21:11:54 +09:00
parent 02dacca582
commit eb26537791

View File

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