H
Hono6mo ago
PaperKrane

Is there a way to subscribe/publish with Hono webSocket middleware (for Bun)?

I am definitely far from familiarity with websockets but I am excited to try it out with Hono. I am just testing it out trying to build a basic chat application with rooms based on a URL but for some reason I can only get the websockets to publish to an individual session and not for multiple users on different browsers. I see there is a ‘raw’ object on the websocket object that has subscribe and publish but the publish doesn’t seem to broadcast the message. I am totally open to additional docs or insights with this one. I am loving Hono and I am really excited to exploring more!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server