KestrunHost.AddFeature method
Adds a feature configuration action to the feature queue. This action will be executed when the features are applied.
public KestrunHost AddFeature(Action<KestrunHost> feature)
parameter | description |
---|---|
feature | The feature configuration action. |
Return Value
The current KestrunHost instance.
See Also
- class KestrunHost
- namespace Kestrun.Hosting