Open
Description
There are socket.request.headers
, socket.conn.request.headers
and socket.handshake.headers
all referencing the same thing, so this is just a suggestion for a clearer interface around request data.
Socket.IO server version: 3.1.0
https://github.com/socketio/socket.io/blob/3.1.0/lib/socket.ts#L126
https://github.com/socketio/socket.io/blob/3.1.0/lib/socket.ts#L587-L589
https://github.com/socketio/socket.io/blob/3.1.0/lib/socket.ts#L596-L598