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.

Constructors

Link copied to clipboard
constructor(method: String, params: JsonElement = EmptyJsonObject, jsonrpc: String = JSONRPC_VERSION)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val params: JsonElement

Functions

Link copied to clipboard

Decodes a JSON-RPC notification into a protocol-specific Notification.