Skip to content

Commit 02dacca

Browse files
committed
[Modify] Remove it
1 parent 592912b commit 02dacca

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

websocket-sharp/Server/WebSocketSessionManager.cs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -480,25 +480,6 @@ internal void Broadcast (
480480
}
481481
}
482482

483-
internal Dictionary<string, bool> Broadping (
484-
byte[] frameAsBytes, TimeSpan timeout
485-
)
486-
{
487-
var ret = new Dictionary<string, bool> ();
488-
489-
foreach (var session in Sessions) {
490-
if (_state != ServerState.Start) {
491-
_log.Error ("The service is shutting down.");
492-
break;
493-
}
494-
495-
var res = session.Context.WebSocket.Ping (frameAsBytes, timeout);
496-
ret.Add (session.ID, res);
497-
}
498-
499-
return ret;
500-
}
501-
502483
internal bool Remove (string id)
503484
{
504485
lock (_sync)

0 commit comments

Comments
 (0)