MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / WebSocket

Method WebSocket

sdks/csharp/src/WebSocket.cs:43–49  ·  view source on GitHub ↗
(ConnectOptions options)

Source from the content-addressed store, hash-verified

41 private CancellationTokenSource? _connectCts;
42
43 public WebSocket(ConnectOptions options)
44 {
45 _options = options;
46#if UNITY_WEBGL && !UNITY_EDITOR
47 InitializeWebGL();
48#endif
49 }
50
51 public event OpenEventHandler? OnConnect;
52 public event ConnectErrorEventHandler? OnConnectError;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected