Table of Contents

Class RunningServerState

Namespace
RDCore.SDK.Server.Services.States
Assembly
RDCore.SDK.dll

The LSP Server application has completed initialization and is now running with trace enabled.

public record RunningServerState : ServerState, IEquatable<ServerState>, IEquatable<RunningServerState>
Inheritance
RunningServerState
Implements
Derived
Inherited Members

Remarks

👉 LSP Server application must use Off if the initialization parameters omit the Trace value.
Server lifecycle § Initialize Request

Constructors

RunningServerState(InitializeTrace)

The LSP Server application has completed initialization and is now running with trace enabled.

public RunningServerState(InitializeTrace Trace = InitializeTrace.Messages)

Parameters

Trace InitializeTrace

The initial server Trace level as determined by the client through the LSP initialization handshake.

Remarks

👉 LSP Server application must use Off if the initialization parameters omit the Trace value.
Server lifecycle § Initialize Request

Properties

Trace

The current server Trace level.

public InitializeTrace Trace { get; }

Property Value

InitializeTrace

Remarks

👉 The client can change this at any time through a SetTrace notification
Server lifecycle § SetTrace Notification