This example demonstrates the usage of HX-Trigger
response header to emit multiple custom events at the client(doc).
We are using the nice utilities provided by the excellent Htmx package.
htmx.MapGet("/",(HttpRequestrequest,HttpResponseresponse)=>{response.Htmx(x =>{x.WithTrigger("show-me, show-you");});returnResults.Content($"GET => {DateTime.UtcNow}");});