View on GitHub

Phusion Passenger

Node.js WebSocket demo

Download this project as a .zip file Download this project as a tar.gz file
Phusion Passenger

Phusion Passenger supports all major modern web technologies, such as WebSockets, entirely out of the box. You don't have to do anything: WebSocket support just works.

Just a simple timestamp server

In this demo, the server sends the current timestamp over a WebSocket once per second, using the awesome Socket.io library. You can see the received timestamps below.

You can also say something to the server, and it'll reply back: