Sending custom models through WebSocket

Open Cart5 years ago

I have created a custom model and successfully inserted in database through API call. I want to send it through WebSocket as soon as new update is received. I see positions are being sent but I can't figure out where I should modify the code to send my custom model.
Any help would be appreciated.