I have a remote computer running which will connect to my meteor application and then subscribe to a set of data. I want to pull some data specific to that client, but I am not sure how to save that data. Basically:
Meteor.publishComposite('client_info', function () {
return {
find: function () {
return Clients.find(/** ??? */);
},
children: [{
find: function (client) {
// more data limited to ONLY this client.
}
}]
}
});
How can one uniquely identify clients connecting to your application?