Skip to content

Commit

Permalink
Update ktor-server/ktor-server-plugins/ktor-server-sse/common/src/io/…
Browse files Browse the repository at this point in the history
…ktor/server/sse/Routing.kt

Co-authored-by:  Vik Nikolova <contact@viknikolova.com>
  • Loading branch information
marychatte and vnikolova authored Nov 7, 2024
1 parent 49c6f78 commit 95f5a35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public fun Route.sse(handler: suspend SSESession.() -> Unit): Unit = processSSE(
*
* @param path URL path at which to handle SSE requests.
* @param serialize A function to serialize data objects into the `data` field of a `ServerSentEvent`.
* @param handler function that defines the behavior of the SSE session. It is invoked when a client connects to the SSE
* @param handler A function that defines the behavior of the SSE session. It is invoked when a client connects to the SSE
* endpoint. Inside the handler, you can use the functions provided by [SSESessionWithSerialization]
* to send events to the connected clients.
*
Expand Down

0 comments on commit 95f5a35

Please sign in to comment.