Hi,
Basically, as far as I understand, there is no model for supporting websockets in Mojito. There is something called the TunnelProxy mojit, which is an RPC model for bidirectional comms, which you can look at in the code of mojito, but I do not use it so I have no idea what it's good for, except that RPC is not what websockets are about.
You can also REST-ify your service and use mojito lib REST to access your server. This covers many use cases. This is what the Yahoo devs told me in last November to use.
I also need this functionality and am thinking of creating a mojit that handles the socket.io loading and presents this resource to all other mojits via the mojit proxy in an event driven manner. That's the client side. On the server side, the complication with websockets is that you are adding to nodejs an additional input channel besides http, so you will need to add some middleware to handle the websocket port and make sure that node's singlethreaded model is not compromised (no blocking allowed). We need those signals for a pub/sub to our mongoDB database...
I also found this: https://github.com/yahoo/mojito/pull/348
Not clear what jintao did there... The HTMLFrameMojit to my knowledge does not implement anything to do with websockets or additional channels at the moment. (also it shouldn't)
I hope some mojito engineers read this and respond soon.
Cheers
Ron