class

MCProtocol::ListRootsResult

Inherits JSON::Serializable < Reference < Object

The client's response to a roots/list request from the server. This result contains an array of Root objects, each representing a root directory or file that the server can operate on.

Constructors

new(roots : Array(Root), _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
roots
Source