I'm building a small project to share projects, here is an example of implementation using node express, I want to implement it using hono, and that's using Cloudflare worders
The principle of implementation is to initialize a parameter in the client and then propagate it to the admin through ws. The admin uses this parameter to create an instance to display the client's screen.
What version of Hono are you using?
4.6.8
What runtime/platform is your app running on?
cloudflare workers
What steps can reproduce the bug?
Just clone my repo https://github.com/TinsFox/webrtc-worker and run it
open http://localhost:3001/client
What is the expected behavior?
The onOpen method runs normally and I can get the newly established link
What do you see instead?
The onOpen method is unresponsive, as if it doesn't exist.
Can't see any output from the onOpen method.
Additional information
I'm building a small project to share projects, here is an example of implementation using node express, I want to implement it using hono, and that's using Cloudflare worders
The principle of implementation is to initialize a parameter in the client and then propagate it to the admin through ws. The admin uses this parameter to create an instance to display the client's screen.