From 95f5a35c48ab7e0ba7a1f53f9c242ffd317d33eb Mon Sep 17 00:00:00 2001 From: Mariia Skripchenko <61115099+marychatte@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:35:29 +0100 Subject: [PATCH] Update ktor-server/ktor-server-plugins/ktor-server-sse/common/src/io/ktor/server/sse/Routing.kt Co-authored-by: Vik Nikolova --- .../ktor-server-sse/common/src/io/ktor/server/sse/Routing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktor-server/ktor-server-plugins/ktor-server-sse/common/src/io/ktor/server/sse/Routing.kt b/ktor-server/ktor-server-plugins/ktor-server-sse/common/src/io/ktor/server/sse/Routing.kt index 0bbb5f9f12b..16ab70ec9de 100644 --- a/ktor-server/ktor-server-plugins/ktor-server-sse/common/src/io/ktor/server/sse/Routing.kt +++ b/ktor-server/ktor-server-plugins/ktor-server-sse/common/src/io/ktor/server/sse/Routing.kt @@ -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. *