(@Body() body: { content?: string })
| 59 | |
| 60 | @Sse('sse/post', { method: RequestMethod.POST }) |
| 61 | ssePost(@Body() body: { content?: string }): Observable<MessageEvent> { |
| 62 | return of({ data: { content: body.content ?? 'default' } }); |
| 63 | } |
| 64 | |
| 65 | @Sse('sse/promise-delayed') |
| 66 | ssePromiseDelayed( |