docs.nestjs.com icon indicating copy to clipboard operation
docs.nestjs.com copied to clipboard

docs(techniques/server-sent-events): added code sample for POST Sse controller

Open naveensky opened this issue 2 years ago • 0 comments

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

naveensky avatar Jul 04 '23 23:07 naveensky