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 5 seconds, 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: