hascode / html5-server-send-events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML5 Server Send Events using Node.js or Jetty

A short example for the W3C working draft implementation on server side events.

You're able to run the examples using node.js or Maven with Jetty:

Node.js

Simply run the following command:

node server.js

Afterwards just open the following URL in your browser: http://localhost:8080/

Maven + Jetty

You need to have Maven installed - then simply run the following goal:

mvn jetty:run

Again you're able to see the results when opening http://localhost:8080/ in your browser.

Tutorial

Please feel free to take a look at the full tutorial on my blog at www.hascode.com.


2012 Micha Kops / hasCode.com

About


Languages

Language:HTML 39.3%Language:Java 31.8%Language:JavaScript 28.9%