csharp
public sealed class WebSocketSubscriberA real WebSocket, as a subscriber.
Remarks
⚠ A send that fails is dropped rather than thrown. One client's dead socket must not be able to fail a broadcast to everybody else, and the socket's own receive loop is what notices it is gone and leaves. That is the same shape as a replication send to a connection that has stopped acknowledging.
Fields and properties (1)
public Guid AccountWhose.
Methods (3)
public WebSocketSubscriber(Guid account, WebSocket socket)A real WebSocket, as a subscriber.
public ValueTask PostAsync(GateEvent message)Sends something, and does not care whether it arrives.
public void Dispose()Releases the write gate.
Used by (1)
- GateEndpointsVixen.Live.Gate