Closed DenisCarriere closed 1 year ago
Since a lot of our API's are being built with Hono
We should be able to integrate Hono + Bun WebSockets
import { Hono } from 'hono' const app = new Hono() app.get('/', (c) => c.text('Hello Bun!')) export default { port: 3000, fetch: app.fetch, websocket: { open: websocket.open, close: websocket.close, message: websocket.message, }, }
not doing, we will stick with Native bun
Since a lot of our API's are being built with Hono
We should be able to integrate Hono + Bun WebSockets