struct OwO::UploadData
- OwO::UploadData
- Struct
- Value
- Object
Defined in:
Constructors
- .new(data : Bytes, filename : String = "data.bin", content_type : String = "application/octet-stream")
- .new(file : File, name : String? = nil, type : String? = nil)
Instance Method Summary
- #content_type
- #content_type=(content_type : String)
- #content_type? : String?
- #data
- #data=(data : Bytes)
- #data? : Slice(UInt8)?
- #filename
- #filename=(filename : String)
- #filename? : String?
Constructor Detail
def self.new(data : Bytes, filename : String = "data.bin", content_type : String = "application/octet-stream")
#