A solution for building websocket-based web applications