On this page
LibTmux.PsmuxServer.ConnectAsync
- Module
- LibTmux
- Declared in
- PsmuxServer
- Package
- LibTmux
- Source
- src/LibTmux/Psmux/PsmuxServer.cs
- ConnectAsync ( options : PsmuxConnectionOptions , cancellationToken : CancellationToken ) Task<PsmuxServer>
-
Connects to a separately provisioned psmux namespace.
- Parameters
-
-
options ( PsmuxConnectionOptions ) – The executable trust and isolated endpoint settings.
-
cancellationToken ( CancellationToken ) – Cancels process startup and discovery.
-
- Returns
-
A query-only psmux server observation.
- Raises
-
-
ArgumentNullException –
optionsis null. -
InvalidOperationException – The selected namespace has no live session.
-
NotSupportedException – The executable, build, namespace, session count, or requested behavior is outside the audited preview contract.
-
LibTmuxException – The verified client could not complete discovery.
-
0 declared, 0 inherited