Table of Contents

Interface IModelProvider

Namespace
DuetWebServer.Singletons
Assembly
DuetWebServer.dll

Interface for accessing model-related parameters

public interface IModelProvider

Properties

Endpoints

Dictionary of registered third-party paths vs third-party HTTP endpoints

Dictionary<string, HttpEndpoint> Endpoints { get; }

Property Value

Dictionary<string, HttpEndpoint>

ReplySeq

Sequence number for generic messages (analog to seqs.reply)

int ReplySeq { get; set; }

Property Value

int

WebDirectory

Path to the web directory

string? WebDirectory { get; set; }

Property Value

string

Events

OnWebDirectoryChanged

Event that is triggered whenever the web directory path changes

event IModelProvider.WebDirectoryChanged? OnWebDirectoryChanged

Event Type

IModelProvider.WebDirectoryChanged