Closed marshallswain closed 7 years ago
This is too common of a request to not be next on the list. There are a lot of headers that match between the transports: https://gist.github.com/marshallswain/b775c7b6d7a9b2429b0eb6fe669a2bfd
We don't currently expose these headers for sockets.
app.configure(socketio(function (io) { io.on('connection', function (socket) { Object.assign(socket.feathers, {headers: socket.handshake.headers}); socket.feathers.ip = socket.conn.remoteAddress; }); }));
See discussion in https://github.com/feathersjs/feathers-primus/issues/46#issuecomment-293024630
This is too common of a request to not be next on the list. There are a lot of headers that match between the transports: https://gist.github.com/marshallswain/b775c7b6d7a9b2429b0eb6fe669a2bfd
We don't currently expose these headers for sockets.