unjs / crossws

🔌 Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers.
https://crossws.unjs.io
Other
395 stars 17 forks source link

feat: experimental sse adapter #62

Closed pi0 closed 3 months ago

pi0 commented 3 months ago

There are deployment targets such as Netlify that do not support WebSockets at all.

Server-sent events can be a replacement for oneway communication as kinda a replacement.

While this is not in the scope of crossWS, this new experimental adapter allows using same conventions and code implementation to be compatible with SSE.

cloudflare-workers-and-pages[bot] commented 3 months ago

Deploying crossws with  Cloudflare Pages  Cloudflare Pages

Latest commit: b5ed611
Status: âœ…  Deploy successful!
Preview URL: https://57342327.crossws.pages.dev
Branch Preview URL: https://feat-sse.crossws.pages.dev

View logs