class

MCProtocol::ResourceContents

Inherits JSON::Serializable < Reference < Object

The contents of a specific resource or sub-resource.

Constructors

new(uri : URI, mimeType : String | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

mimeType

The MIME type of this resource, if known.

Source
uri

The URI of this resource.

Source