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

WebSocket RequestLogger onUpgrade #2220

Open
LoonyRules opened this issue Apr 7, 2024 · 0 comments
Open

WebSocket RequestLogger onUpgrade #2220

LoonyRules opened this issue Apr 7, 2024 · 0 comments

Comments

@LoonyRules
Copy link
Contributor

Describe the feature
It would be nice if the WebSocket Request Logger had a onUpgrade method that would be invoked when a HTTP request tried to be upgraded. I'd like this method to be in a similar signature as the http handler method, where the Context of the HTTP request and the executionTimeMs is passed through.

This method should be invoked whether the HTTP Request is successfully upgraded, or not.

Additional context
This could potentially resolve #2218

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants