toggle menu
MCP Kotlin SDK
0.1.0
jvm
switch theme
search in API
MCP Kotlin SDK
/
io.modelcontextprotocol.kotlin.sdk
/
JSONRPCNotification
JSONRPCNotification
@
Serializable
data
class
JSONRPCNotification
(
val
method
:
String
,
val
params
:
JsonElement
=
EmptyJsonObject
,
val
jsonrpc
:
String
=
JSONRPC_VERSION
)
:
JSONRPCMessage
(
source
)
A notification which does not expect a response.
Members
Constructors
JSONRPCNotification
Link copied to clipboard
constructor
(
method
:
String
,
params
:
JsonElement
=
EmptyJsonObject
,
jsonrpc
:
String
=
JSONRPC_VERSION
)
Properties
jsonrpc
Link copied to clipboard
val
jsonrpc
:
String
method
Link copied to clipboard
val
method
:
String
params
Link copied to clipboard
val
params
:
JsonElement