RunicHostedApplicationOptions record

Namespace Runic.Application.Views.Desktop in Runic.Application.Views.Desktop 0.23.0

public sealed record RunicHostedApplicationOptions : IEquatable<RunicHostedApplicationOptions>

Inherits or implements IEquatable.

How a host runs one guest application (the Runic host protocol, runic-host/1).

Remarks

Experimental; see docs/experimental.md.

Constructors

RunicHostedApplicationOptions

public RunicHostedApplicationOptions()

No documentation.

Properties

HostName

public string? HostName { get; init; }

The host's name the guest learns, which its RunicGuestOptions.AcceptHost may check; by default this application's entry assembly name.

HostVersion

public string? HostVersion { get; init; }

The host's version the guest learns; by default this application's informational version.

Policy

public IRunicHostedWindowPolicy? Policy { get; init; }

Decides which windows the guest may open and what it may do with them; null, the default, allows everything.

StartTimeout

public TimeSpan StartTimeout { get; init; }

How long the guest may take to write its channel line and answer the handshake; 30 seconds by default. After it, the start fails with guest-start-timeout and the guest's process tree is ended.

StopTimeout

public TimeSpan StopTimeout { get; init; }

How long a stopping guest may take to exit after the host asked it to shut down; 10 seconds by default. After it, its process tree is ended.