class

MCP::Message::Notification

Inherits Reference < Object

Represents a JSON-RPC 2.0 notification message.

Constructors

new(method : String, params : Hash(String, JSON::Any) | Nil = nil)
Source

Class methods

from_json(json_string : String)

Override the automatic from_json to prevent Crystal from trying to use it

Source

Instance methods

jsonrpc
Source
jsonrpc=(jsonrpc : String)
Source
method
Source
method=(method : String)
Source
params
Source
params=(params : Hash(String, JSON::Any) | Nil)
Source
to_json
Source