Overloads
Task Connect (string websocketUri, CancellationToken ct)

Parameters

NameTypeDescription
websocketUri string The WebSocket URI to connect to. For example, "ws://hostname.local:1280/" for unencrypted WebSocket or "wss://hostname.local:1281/" for encrypted.
ct = null CancellationToken A which allows the connection attempt to be aborted if necessary.

Returns

TypeDescription
Task A which completes when the connection is established, or throws if it failed to connect.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.