class MCProtocol::BlobResourceContents

Included Modules

Defined in:

mcprotocol/blob_resource_contents.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(blob : String, uri : URI, mimeType : String | Nil = Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def blob : String #

A base64-encoded string representing the binary data of the item.


[View source]
def mimeType : String | Nil #

The MIME type of this resource, if known.


[View source]
def uri : URI #

The URI of this resource.


[View source]