Send custom events to mopidy websocket

I’m trying to simplify the implementation of my HTTP Frontend by using the built-in Mopidy websockets. Currently I create a new websocket to handle my extension-specific events.

How can I get my python code to send a mopidy websocket message? I’ve been looking at backend.send( event, **kwargs) but I understand that to be sending message to mopidy rather than to the websocket client(s).

I’m still figuring out the Python language, but I’m getting there…