KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Core.ConfigurationUtils Class Reference

Bundle of web related configuration utils More...

Static Public Member Functions

static TimeSpan GetRestTimeout (ActorSystem actorSystem)
 Gets the default timeout from rest api to actor system More...
 
static TimeSpan GetRestTimeout (Config config)
 Gets the default timeout from rest api to actor system More...
 

Detailed Description

Bundle of web related configuration utils

Definition at line 20 of file ConfigurationUtils.cs.

Member Function Documentation

◆ GetRestTimeout() [1/2]

static TimeSpan KlusterKite.Core.ConfigurationUtils.GetRestTimeout ( ActorSystem  actorSystem)
static

Gets the default timeout from rest api to actor system

Parameters
actorSystemThe actor system
Returns
Default timeout

Definition at line 27 of file ConfigurationUtils.cs.

◆ GetRestTimeout() [2/2]

static TimeSpan KlusterKite.Core.ConfigurationUtils.GetRestTimeout ( Config  config)
static

Gets the default timeout from rest api to actor system

Parameters
configThe actor system configuration (assumed that this should be the root of configuration)
Returns
Default timeout

Definition at line 37 of file ConfigurationUtils.cs.


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