csharp
public sealed class WebSocketGateSocketA real ClientWebSocket.
Fields and properties (1)
public bool ConnectedWhether it is up.
Methods (4)
public Task ConnectAsync(Uri address, string token, CancellationToken cancellation)Opens it.
public Task<string?> ReceiveAsync(CancellationToken cancellation)Waits for the next thing the gate said.
public Task SendAsync(string text, CancellationToken cancellation)Says something. The gate treats anything as a ping.
public ValueTask DisposeAsync()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
Used by (1)
- GateConnectionVixen.Live.Client