primatejs / primate

Web framework focused on flexibility and developer freedom
https://primatejs.com
MIT License
211 stars 9 forks source link

drop `@primate/ws` and replace with a `ws` and a `sse` handler #44

Closed terrablue closed 9 months ago

terrablue commented 1 year ago

WebSocket support is to be moved to the runtime, which will also have support for SSE.

Drop the @primate/ws package in favor of two handlers in core, ws and sse.

See also https://github.com/rcompat/rcompat/issues/1

ralyodio commented 1 year ago

cool

terrablue commented 9 months ago

@primate/ws dropped in 9a1a00e

terrablue commented 9 months ago

sse support added in https://github.com/primatejs/primate/commit/e5be636e3c56563e6d7e17db472daab02ac11896, ws finalized in https://github.com/primatejs/primate/commit/9eabc05247aa6356226be9e52776f56d8358a2c2