struct

Engram::McpServer::ParsedRequest

Inherits Struct < Value < Object

An incoming line, parsed just enough to dispatch: the id (nil for notifications), whether an id was present at all, the method name, and raw params.

Constructors

new(id : JSON::Any | Nil, has_id : Bool, method : String, params : JSON::Any | Nil)
Source

Instance methods

clone
Source
copy_with(id _id = @id, has_id _has_id = @has_id, method _method = @method, params _params = @params)
Source
has_id
id
method
params