Open
Description
hi,
i am requesting username, password and customTag to be exposed in "connectionClosed" event
use case: with this we can log traffic stats by username in an external db
some thing like this
// Emitted when HTTP connection is closed
server.on('connectionClosed', ({ connectionId, stats, username, password, customTag }) => {
console.log(`Connection ${connectionId} closed`);
console.dir(stats);
// save stats to a file or db with user name here
});