title: Server sent events with Nancy
body: <p>How do I create server sent events with Nancy. I got only to return a single line, but I am not sure how to trigger the new events in my code. </p>
  
  <p>This is what I have so for in my module: </p>
  
  <pre><code> Get["/events"] = _ =&gt;
   {        
    return Response.AsText(string.Format("data: {{\"date\":{0}}}\n\n", DateTime.Now.Ticks), "text/event-stream");
   };
  </code></pre>