Class ConfigureGlobalOptionsForKeepAliveMiddlware
Ensures the Keep Alive middleware is part of
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Middleware
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public sealed class ConfigureGlobalOptionsForKeepAliveMiddlware : IPostConfigureOptions<GlobalSettings>
Constructors
View SourceConfigureGlobalOptionsForKeepAliveMiddlware(IOptions<KeepAliveSettings>)
Declaration
public ConfigureGlobalOptionsForKeepAliveMiddlware(IOptions<KeepAliveSettings> keepAliveSettings)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<KeepAliveSettings> | keepAliveSettings |
Methods
View SourcePostConfigure(String, GlobalSettings)
Append the keep alive ping url to the reserved URLs
Declaration
public void PostConfigure(string name, GlobalSettings options)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
GlobalSettings | options |