C# Class Owin.HealthCheck.AppBuilderExtensions

Extension methods for IAppBuilder
Mostrar archivo Open project: thedillonb/Owin.HealthCheck

Public Methods

Method Description
UseHealthCheck ( this appBuilder, HealthCheckMiddlewareConfig config ) : IAppBuilder

Inserts a HealthCheckMiddleware into the current IAppBuilder pipeline

UseHealthCheck ( this appBuilder, string route, HealthCheckMiddlewareConfig config ) : IAppBuilder

Inserts a HealthCheckMiddleware into the current IAppBuilder pipeline

Method Details

UseHealthCheck() public static method

Inserts a HealthCheckMiddleware into the current IAppBuilder pipeline
public static UseHealthCheck ( this appBuilder, HealthCheckMiddlewareConfig config ) : IAppBuilder
appBuilder this The current pipeline
config HealthCheckMiddlewareConfig A containing configuration options for the middleware
return IAppBuilder

UseHealthCheck() public static method

Inserts a HealthCheckMiddleware into the current IAppBuilder pipeline
public static UseHealthCheck ( this appBuilder, string route, HealthCheckMiddlewareConfig config ) : IAppBuilder
appBuilder this The current pipeline
route string
config HealthCheckMiddlewareConfig A containing configuration options for the middleware
return IAppBuilder