docs.nestjs.com
docs.nestjs.com copied to clipboard
docs(techniques/server-sent-events): added code sample for POST Sse controller
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://github.com/nestjs/docs.nestjs.com/blob/master/CONTRIBUTING.md
PR Type
What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [x] Docs
- [ ] Other... Please describe:
What is the current behavior?
The current behavior provides an example for GET method for Sse controllers.
Issue Number: N/A
What is the new behavior?
I am adding an example for POST method for Sse controller. This will help developers quickly pick up the syntax, which is bit different.
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No
Other information
N/A