public HealthCheckerMiddleware(RequestDelegate next, ILoggerFactory loggerFactory, HealthCheckerOptions options) { _next = next; _logger = loggerFactory.CreateLogger <HealthCheckerMiddleware>(); _options = options; }
public static IApplicationBuilder UseHealthcheckEndpoint(this IApplicationBuilder builder, HealthCheckerOptions options) { return(builder.UseMiddleware <HealthCheckerMiddleware>(options)); }
public HealthCheckBuilder(HealthCheckerOptions options) { _options = options; }