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

Custom status code and headers #13

Closed abhi12299 closed 3 years ago

abhi12299 commented 3 years ago

Add custom headers and status code in SessionOptions. Update docs/api.md to include an example for the same. Should fix #7