KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Web.NginxConfigurator.WebConfiguration Class Reference

Nginx sites configuration description More...

Inheritance diagram for KlusterKite.Web.NginxConfigurator.WebConfiguration:

Public Member Functions

void Flush ()
 Removes empty host configurations from cache More...
 
IEnumerator< HostConfigurationGetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 

Public Attributes

int Count => this.hosts.Count
 Gets the configured hosts count More...
 

Properties

HostConfiguration this[string hostName] [get]
 Gets the host configuration by it's name More...
 

Detailed Description

Nginx sites configuration description

Definition at line 19 of file WebConfiguration.cs.

Member Function Documentation

◆ Flush()

void KlusterKite.Web.NginxConfigurator.WebConfiguration.Flush ( )

Removes empty host configurations from cache

Definition at line 52 of file WebConfiguration.cs.

◆ GetEnumerator()

IEnumerator<HostConfiguration> KlusterKite.Web.NginxConfigurator.WebConfiguration.GetEnumerator ( )

Returns an enumerator that iterates through the collection.

Returns
An enumerator that can be used to iterate through the collection.

Member Data Documentation

◆ Count

int KlusterKite.Web.NginxConfigurator.WebConfiguration.Count => this.hosts.Count

Gets the configured hosts count

Definition at line 29 of file WebConfiguration.cs.

Property Documentation

◆ this[string hostName]

HostConfiguration KlusterKite.Web.NginxConfigurator.WebConfiguration.this[string hostName]
get

Gets the host configuration by it's name

Parameters
hostNameThe host's name
Returns
The host configuration

Definition at line 37 of file WebConfiguration.cs.


The documentation for this class was generated from the following file: