NAME
Convos::Controller::Events - Stream events from Convos::Core to web
DESCRIPTION
Convos::Controller::Stream is a Mojolicious::Controller which can stream events from the backend to frontend, and also act on input from web, if websocket is supported by the browser.
METHODS
start
Will push Convos::Core::User and Convos::Core::Connection events as JSON objects over a WebSocket connection and receive messages from the frontend.