Table of Contents

Interface IRDCoreClientApp

Namespace
RDCore.SDK.Client
Assembly
RDCore.SDK.dll

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

ExtensionInfo

PlatformInfo

The result of the rdcore/platform/initialize handshake; null until the connection is Ready.

PlatformInitializeResult? PlatformInfo { get; }

Property Value

PlatformInitializeResult

Methods

SendNotificationAsync<TParams>(TParams, CancellationToken)

Task SendNotificationAsync<TParams>(TParams notification, CancellationToken token) where TParams : IRequest

Parameters

notification TParams
token CancellationToken

Returns

Task

Type Parameters

TParams

SendRequestAsync<TParams, TResult>(TParams, CancellationToken)

Task<TResult> SendRequestAsync<TParams, TResult>(TParams request, CancellationToken token) where TParams : IRequest<TResult>

Parameters

request TParams
token CancellationToken

Returns

Task<TResult>

Type Parameters

TParams
TResult

ShutdownAsync()

Gracefully tears down the child connection: LSP shutdown request, exit notification, then a kill fallback.

Task ShutdownAsync()

Returns

Task

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

token CancellationToken

Returns

Task

WaitForTerminalAsync()

Completes once the connection is terminally lost — the child exited and restart-with-backoff was exhausted.

Task WaitForTerminalAsync()

Returns

Task