toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp.shared
/
WebSocketMcpTransport
/
onMessage
on
Message
open
override
var
onMessage
:
suspend
(
JSONRPCMessage
)
->
Unit
?
(
source
)
Callback for when a message (request or response) is received over the connection.