h3
h3 copied to clipboard
Pass h3 event context to crossws hooks
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?
Would be a huge improvement ! I'm looking forward to be able to use h3 sessions to authenticate peers.