h3 icon indicating copy to clipboard operation
h3 copied to clipboard

Pass h3 event context to crossws hooks

Open fabianwohlfart opened this issue 1 year ago • 1 comments

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 avatar Nov 06 '24 22:11 fabianwohlfart

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

Caesarovich avatar Nov 13 '24 15:11 Caesarovich