Skip to content

Commit 45c06cf

Browse files
committed
chore(documentation): update
1 parent 0dfd55a commit 45c06cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/docs/server-sent-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ namespace Sample {
147147
[Route("GET", "/sse")]
148148
public object SSE() {
149149
// elevate the current session as a SSE Sessions
150-
Session.AddSSESession();
150+
AddSSESession();
151151
// return SSE stream response to client
152152
return MakeServerSentEventsResponse();
153153
}
@@ -226,7 +226,7 @@ namespace Sample {
226226
}
227227
228228
// elevate the current session as a SSE Sessions
229-
Session.AddSSESession();
229+
AddSSESession();
230230
// return SSE stream response to client
231231
return MakeServerSentEventsResponse();
232232
}

0 commit comments

Comments
 (0)