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

Interface for web component configuration, providing access to initialization parameters. More...

Inheritance diagram for IWebComponentConfig:
TdjWebComponentConfig

Public Member Functions

IContext GetContext ()
string GetInitParameter (const string Key)
 Gets an initialization parameter.
TdjStringArray GetInitParameterNames ()

Detailed Description

Interface for web component configuration, providing access to initialization parameters.

Member Function Documentation

◆ GetContext()

IContext IWebComponentConfig::GetContext ( )
Returns
Context this component belongs to

◆ GetInitParameter()

string IWebComponentConfig::GetInitParameter ( const string Key)

Gets an initialization parameter.

Parameters
KeyParameter name (case-sensitive)
Returns
Parameter value or empty string if not found

◆ GetInitParameterNames()

TdjStringArray IWebComponentConfig::GetInitParameterNames ( )
Note
The order of the names is unspecified.
Returns
Names of all initialization parameters