MatthewWid / better-sse

⬆ Dead simple, dependency-less, spec-compliant server-sent events implementation for Node, written in TypeScript.
MIT License
488 stars 14 forks source link

Add adapters/middlewares to support more frameworks. #6

Closed MatthewWid closed 3 years ago

MatthewWid commented 3 years ago

Add adapters and middlewares to support the interoperability with other frameworks.

Frameworks planned to support at the moment include:

See the current adapter/middleware implementation for Express to get an idea about how to implement these for other frameworks.

MatthewWid commented 3 years ago

The provision of adapters and middlewares for each framework will be removed in the next release, in favour of supporting the raw Node req and res parameters that can be given by any framework.