Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Expose proxy username, password and customTag in connectionClosed event #574

Open
geminigeek opened this issue Jan 28, 2025 · 0 comments

Comments

@geminigeek
Copy link

geminigeek commented Jan 28, 2025

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
});
@geminigeek geminigeek changed the title [Feature Request] Expose proxy username and password in connectionClosed event [Feature Request] Expose proxy username, password and customTag in connectionClosed event Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant