Daraja HTTP Framework 3.0.7-SNAPSHOT
HTTP server framework for Object Pascal
Loading...
Searching...
No Matches
IWriteableConfig Interface Reference

Interface for writable configuration objects that can be modified at runtime. More...

Inheritance diagram for IWriteableConfig:
TdjAbstractConfig TdjContext TdjContext TdjWebComponentConfig TdjWebFilterConfig

Public Member Functions

 Add (const string Key, const string Value)
 Adds a key-value pair to configuration.
 SetContext (const IContext Context)
 Sets the context for this configuration.

Detailed Description

Interface for writable configuration objects that can be modified at runtime.

Member Function Documentation

◆ Add()

IWriteableConfig::Add ( const string Key,
const string Value )

Adds a key-value pair to configuration.

Parameters
KeyParameter name
ValueParameter value

Implemented in TdjAbstractConfig, and TdjContext.

◆ SetContext()

IWriteableConfig::SetContext ( const IContext Context)

Sets the context for this configuration.

Parameters
ContextContext to set
Exceptions
EWebComponentExceptionif the context is nil or if the context is already set and differs from the new context.

Implemented in TdjAbstractConfig, and TdjContext.