class MCProtocol::ResourceContents

Overview

The contents of a specific resource or sub-resource.

Included Modules

Defined in:

mcprotocol/resource_contents.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(uri : URI, mimeType : String | Nil = Nil) #

[View source]

Instance Method Detail

def mimeType : String | Nil #

The MIME type of this resource, if known.


[View source]
def uri : URI #

The URI of this resource.


[View source]