I was wondering how could I extend the data that server is getting form the client per new connections.
Now I have the following data by using Meteor.onConnection(function(data) {console.log(data)})
but I would like to add here some extra information such as device information when using cordova
{
id: "L6dQasAgSJajTiLmn",
close: [Function],
onClose: [Function],
clientAddress: "127.0.0.1",
httpHeaders:
{ "x-forwarded-for": "127.0.0.1",
"x-forwarded-proto": "ws",
host: "localhost:3000",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0",
"accept-language": "en-US,en;q=0.5" }
}