Skip to content

Commit 3a064a0

Browse files
committed
Simplify URL handling in SSE client transport.
1 parent 0cff2ca commit 3a064a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/client/SSEClientTransport.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class SseClientTransport(
6868

6969
session = urlString?.let {
7070
client.sseSession(
71-
urlString = "$it/sse",
71+
urlString = it,
7272
reconnectionTime = reconnectionTime,
7373
block = requestBuilder,
7474
)

0 commit comments

Comments
 (0)