Skip to content

Commit 8b46dde

Browse files
committed
SSE return types /2
1 parent 8cf446a commit 8b46dde

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

aspnetcore/fundamentals/minimal-apis/10.0-samples/MinimalServerSentEvents/MinimalServerSentEvents.http

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@baseUrl = http://localhost:5293
1+
@baseUrl = http://localhost:58489
22

33
### Connect to SSE stream
44
# This request will open an SSE connection that stays open
@@ -12,4 +12,4 @@ Accept: text/event-stream
1212
###
1313

1414
GET {{baseUrl}}/sse-item
15-
Accept: text/event-stream
15+
Accept: text/event-stream

aspnetcore/release-notes/aspnetcore-10.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ This section describes new features for minimal APIs.
3737

3838
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/MinApiEmptyStringInFormPost.md)]
3939

40+
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/sse.md)]
41+
42+
4043
## OpenAPI
4144

4245
This section describes new features for OpenAPI.

aspnetcore/release-notes/aspnetcore-10/includes/sse.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ The following example illustrates how to use the `TypedResults.ServerSentEvents
1313
For more information, see:
1414

1515
-
16-
- [Server-Sent Events](https://developer.mozilla.org/docs/Web/API/Server-sent_events) on MDN.
16+
- [Server-Sent Events](https://developer.mozilla.org/docs/Web/API/Server-sent_events) on MDN.
17+
-

0 commit comments

Comments
 (0)