SiteWarmer
Programmatically hit your applications after deployment to make sure they have started.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SiteWarmer.Core.CustomWarmer Class Reference

Event based Warmer, allowing more flexibility than other Warmer implementations. More...

Public Member Functions

 CustomWarmer (IConfig config, IRequester requester)
 Instantiate CustomerWarmer.
 
async Task WarmAsync (Action< Check > action)
 Warm all URLs in IConfig.
 
async Task WarmAsync (IEnumerable< Check > checks, Action< Check > action)
 Warm all URLs in the Check collection passed in.
 

Detailed Description

Event based Warmer, allowing more flexibility than other Warmer implementations.

Constructor & Destructor Documentation

◆ CustomWarmer()

SiteWarmer.Core.CustomWarmer.CustomWarmer ( IConfig  config,
IRequester  requester 
)
inline

Instantiate CustomerWarmer.

Parameters
configConfiguration of Check
requesterHTTP requester

Member Function Documentation

◆ WarmAsync() [1/2]

async Task SiteWarmer.Core.CustomWarmer.WarmAsync ( Action< Check action)
inline

Warm all URLs in IConfig.

Parameters
actionCustom action to execute after each Check is requested

◆ WarmAsync() [2/2]

async Task SiteWarmer.Core.CustomWarmer.WarmAsync ( IEnumerable< Check checks,
Action< Check action 
)
inline

Warm all URLs in the Check collection passed in.

Parameters
checksCheck collection to warm
actionCustom action to execute after each Check is requested

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