REST API along with Websocket API
<p>I have to create an application with a permanent connection (I need to send data update from the server) and, in parallel, I need to configure this app. My idea was to use Socket.IO for the connection and use it also for the configuration, with specifics event name.</p>

<p>But someone said that it's better to keep Socket.IO only for sending data from the server and use a REST API to configure the app.</p>

<p>I want to know if using a REST API along with of a Websocket connection is a good practice or not, and if no, why.</p>