class MCProtocol::ServerCapabilitiesResources

Overview

Present if the server offers any resources to read.

Included Modules

Defined in:

mcprotocol/server_capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(listChanged : Bool | Nil = Nil, subscribe : Bool | Nil = Nil) #

[View source]

Instance Method Detail

def listChanged : Bool | Nil #

Whether this server supports notifications for changes to the resource list.


[View source]
def subscribe : Bool | Nil #

Whether this server supports subscribing to resource updates.


[View source]