KestrunHost.Use method

Adds a middleware stage to the application pipeline.

public KestrunHost Use(Action<IApplicationBuilder> stage)
parameter description
stage The middleware stage to add.

Return Value

The current KestrunHost instance.

See Also