struct OwO::UploadData

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Bytes, filename : String = "data.bin", content_type : String = "application/octet-stream") #

def self.new(file : File, name : String? = nil, type : String? = nil) #

Instance Method Detail

def content_type #

def content_type=(content_type : String) #

def content_type? : String? #

def data #

def data=(data : Bytes) #

def data? : Slice(UInt8)? #

def filename #

def filename=(filename : String) #

def filename? : String? #