Skip to content

ConnectEngineOptions

Namespace: E2E.Engine.Protocol

public sealed record ConnectEngineOptions : IEquatable<ConnectEngineOptions>

Options of ConnectEngine(ConnectEngineOptions). Upstream’s ConnectEngineOptions.

Inheritance: object

Implements: IEquatable<ConnectEngineOptions>

View source

public IReadOnlyDictionary<string, Delegate>? Fixtures { get; init; }

Fixtures this process contributes; see Fixtures. They run on the client, beside the test.

Value: IReadOnlyDictionary<string, Delegate>

public JsonNode? InitializationOptions { get; init; }

Engine options the server receives in initialize, as JSON.

Value: JsonNode

public required EngineManifest Manifest { get; init; }

What the server is: its name, version, platform, and the methods it answers. The harness reads it at config load; the server’s own manifest from initialize must match it.

Value: EngineManifest

public bool ResolveLocators { get; init; }

Answers locators on the client for a server without engine/locate: each locate observes and resolves the expression over the tree with the reference semantics (ResolveExpression), so a server only has to produce a tree.

Value: bool

public IReadOnlyList<Secret>? Secrets { get; init; }

The Secrets.Get handles the server may resolve; see Secrets.

Value: IReadOnlyList<Secret>

public EngineSessionSpec? Session { get; init; }

Session hooks this process answers instead of the server, such as a relaunch the host makes from outside a device. Each one wins over the server’s method of the same name.

Value: EngineSessionSpec

public required IEngineTransport Transport { get; init; }

How to reach the server: SpawnTransport, SocketTransport, or LoopbackTransport.

Value: IEngineTransport

public Action<EngineAppDeclaration, EngineAppCheckInfo>? ValidateApp { get; init; }

Checks the target’s app at config load, on the client; see ValidateApp.

Value: Action<EngineAppDeclaration, EngineAppCheckInfo>