API
Run (request delegate)
Registers a terminal request delegate; distinct from host Run().
Formal Syntax & Structure
csharp syntaxcsharp
app.Run(ctx => ctx.Response.WriteAsync("done"));Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.app.Run(ctx => ctx.Response.WriteAsync("done"));