class

MCProtocol::ReadResourceResult

Inherits JSON::Serializable < Reference < Object

The server's response to a resources/read request from the client.

Constructors

new(contents : Array(String), _meta : JSON::Any | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

_meta

This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.

Source
contents
Source