Skip to content

Commit fb8bcb0

Browse files
soyukajohnbiundo
andauthored
Apply suggestions from code review
Co-authored-by: John Biundo <[email protected]>
1 parent 40607c1 commit fb8bcb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/techniques/server-sent-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ You can enable Server-Sent events on a route with Nest. This can be used to push
66

77
In this example, we set a route named `/sse` that will allow you to propagate real time updates. These events can be listened to using the Javascript [EventSource API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource). On the `/` route, for the sake of the example, we're logging the received data in the browser's console.
88

9-
Note the `@Sse` annotation that hooks the Server-Sent events mechanism on the choosed path:
9+
Note the `@Sse` decorator that hooks the Server-Sent events mechanism on the chosen path:
1010

1111
```
1212
@Controller()
@@ -41,4 +41,4 @@ export interface MessageEvent {
4141
}
4242
```
4343

44-
You can find a sample of a working example on [Nest repository](https://github.com/nestjs/nest/tree/master/sample/28-sse).
44+
You can find a working example in the [Nest repository](https://github.com/nestjs/nest/tree/master/sample/28-sse).

0 commit comments

Comments
 (0)