mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 08:36:11 +02:00
deploy: dfa1b21d32
This commit is contained in:
@@ -182,6 +182,44 @@ Class PresenceTracker <a class="header-action link-secondary" title="View sourc
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="EchoHub_Server_Services_PresenceTracker_ForceRemoveUser_" data-uid="EchoHub.Server.Services.PresenceTracker.ForceRemoveUser*"></a>
|
||||
|
||||
<h3 id="EchoHub_Server_Services_PresenceTracker_ForceRemoveUser_System_String_" data-uid="EchoHub.Server.Services.PresenceTracker.ForceRemoveUser(System.String)">
|
||||
ForceRemoveUser(string)
|
||||
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server/Services/PresenceTracker.cs"><i class="bi bi-code-slash"></i></a>
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Forcibly remove a user from all tracking. Returns their connection IDs and channels
|
||||
so the caller can broadcast departures and force-disconnect connections.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public (List<string> ConnectionIds, List<string> Channels) ForceRemoveUser(string username)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>username</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt>(<span class="xref">List</span><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.collections.generic.list-system.string-,system.collections.generic.list-system.string--.connectionids">ConnectionIds</a>, <span class="xref">List</span><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.collections.generic.list-system.string-,system.collections.generic.list-system.string--.channels">Channels</a>)</dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="EchoHub_Server_Services_PresenceTracker_GetChannelsForUser_" data-uid="EchoHub.Server.Services.PresenceTracker.GetChannelsForUser*"></a>
|
||||
|
||||
<h3 id="EchoHub_Server_Services_PresenceTracker_GetChannelsForUser_System_String_" data-uid="EchoHub.Server.Services.PresenceTracker.GetChannelsForUser(System.String)">
|
||||
|
||||
Reference in New Issue
Block a user