Class RuntimeConfig
Represents the runtime configuration for the application.
Inherited Members
Namespace: Morpheo.Sdk
Assembly: Morpheo.Sdk.dll
Syntax
public class RuntimeConfig
Properties
| Edit this page View SourceCentralServerUrl
Gets or sets the URL of the central server, if applicable.
Declaration
[JsonPropertyName("centralServerUrl")]
public string? CentralServerUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ConnectionString
Gets or sets the database connection string.
Declaration
[JsonPropertyName("connectionString")]
public string ConnectionString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DatabaseType
Gets or sets the database type (e.g., "Sqlite", "Postgres", "SqlServer", "Memory"). Default is "Sqlite".
Declaration
[JsonPropertyName("databaseType")]
public string DatabaseType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnableMesh
Gets or sets a value indicating whether mesh networking is enabled. Default is false.
Declaration
[JsonPropertyName("enableMesh")]
public bool EnableMesh { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HttpPort
Gets or sets the HTTP port. Default is 5000.
Declaration
[JsonPropertyName("httpPort")]
public int HttpPort { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
NodeName
Gets or sets the node name. Default is "Morpheo-Node".
Declaration
[JsonPropertyName("nodeName")]
public string NodeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |