Hi, I recently used the simple:rest package that can transform DDP methods into HTTP endpoints. It would be nice to have something that can do the same for publications but convert them into Socket.io publications.
This way, I can use my Meteor backend with an already built client that uses Rest endpoints and Socket.io.
I’m not looking at alternative (like asteroid) to modify the client, I just want to make my backend compatible with every clients (Meteor clients and non Meteor).
Does something like this exists ? if not, how would you implement it ?
But this would require to have a complete server that acts only as an interface between Meteor and the client.
I was more thinking of something that would apply and do the same logic as a meteor publication (auth for example) and sends the same data. There’s already the same thing for methods or publications in HTTP (http publish) but something with socket.io would be nice too.