This Primus example allows you to experiment with the API's and see how all components interact with each other.
connect
"end"
{ echo: "data" }
{ pipe: true }
"kill"