Primus

This Primus example allows you to experiment with the API's and see how all components interact with each other.

connect

Sending "end" will close the connection, { echo: "data" } will respond with the data you're sending and { pipe: true } sends the whole html file using the `.pipe` method. Or if you just want to see the reconnect in action, issue a "kill" command to nuke the server.