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:

About Phusion Passenger

Phusion Passenger is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex. Phusion Passenger supports Ruby, Python, Node.js and Meteor, and is being used by high-profile companies such as Apple, Pixar, New York Times, AirBnB, Juniper etc as well as over 350.000 websites.

Learn more: Website | Documentation | Support resources | Github | Twitter | Blog