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

Pass h3 event context to crossws hooks #909

Open
1 task
fabianwohlfart opened this issue Nov 6, 2024 · 1 comment
Open
1 task

Pass h3 event context to crossws hooks #909

fabianwohlfart opened this issue Nov 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@fabianwohlfart
Copy link

Describe the feature

It would be great to pass a crossws peer.request or something similar to h3 functions like getRequestIp(event) and it works.
At the moment I am running in a lot of "[something] is missing" or "[something] does not exist errors", which is hard to entangle for me.
I am aware that we are in the progress of updating Nitro and all the other libraries.
Maybe understand this more as a note to also check against such things.
Thanks for your work!

Additional information

  • Would you be willing to help implement this feature?
@fabianwohlfart fabianwohlfart added the enhancement New feature or request label Nov 6, 2024
@Caesarovich
Copy link

Would be a huge improvement ! I'm looking forward to be able to use h3 sessions to authenticate peers.

@pi0 pi0 changed the title Compatibility crossws <> h3 Pass h3 event context to crossws hooks Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants