Site updated at 2016-07-18 18:49:00 UTC

This commit is contained in:
Travis CI 2016-07-18 18:49:01 +00:00
parent 5a6d26fcbe
commit 68e77ab9d8
21 changed files with 35 additions and 27 deletions

View file

@ -128,6 +128,14 @@
<h2><a class="title-link" name="examples" href="#examples"></a> Examples</h2>
<p>The simplest way to consume server-sent events is <code>curl</code>.</p>
<div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl http://localhost:8123/api/stream?api_password=MYPASS
</pre></div>
</div>
</div>
<h3><a class="title-link" name="website" href="#website"></a> Website</h3>
<p>The <a href="https://github.com/fabaff/home-assistant-sse">home-assistant-sse</a> repository contains an more advanced example.</p>