Interface IRDCoreClientApp
A client-side (LSP) RDCore app.
public interface IRDCoreClientApp : IRDCoreApp, IDisposable
- Inherited Members
Properties
ExtensionInfo
The extension manifest when this client connects to a Extension; null otherwise.
ExtensionInfo? ExtensionInfo { get; }
Property Value
PlatformInfo
The result of the rdcore/platform/initialize handshake; null until the connection is Ready.
PlatformInitializeResult? PlatformInfo { get; }
Property Value
Methods
SendNotificationAsync<TParams>(TParams, CancellationToken)
Task SendNotificationAsync<TParams>(TParams notification, CancellationToken token) where TParams : IRequest
Parameters
notificationTParamstokenCancellationToken
Returns
Type Parameters
TParams
SendRequestAsync<TParams, TResult>(TParams, CancellationToken)
Task<TResult> SendRequestAsync<TParams, TResult>(TParams request, CancellationToken token) where TParams : IRequest<TResult>
Parameters
requestTParamstokenCancellationToken
Returns
- Task<TResult>
Type Parameters
TParamsTResult
ShutdownAsync()
Gracefully tears down the child connection: LSP shutdown request, exit notification, then a kill fallback.
Task ShutdownAsync()
Returns
WaitForReadyAsync(CancellationToken)
Completes once the connection to the child server is Ready; faults if the connection reaches a terminal state first.
Task WaitForReadyAsync(CancellationToken token)
Parameters
tokenCancellationToken
Returns
WaitForTerminalAsync()
Completes once the connection is terminally lost — the child exited and restart-with-backoff was exhausted.
Task WaitForTerminalAsync()