struct Amber::Schema::Parser::MultipartParser::FileInfo

Overview

File info structure for multipart uploads

Defined in:

amber/schema/parsers/multipart_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(filename : Nil | String, content_type : Nil | String, size : UInt64 | Nil, content : String, headers : HTTP::Headers) #

[View source]

Instance Method Detail

def content : String #

[View source]
def content_type : String | Nil #

[View source]
def filename : String | Nil #

[View source]
def headers : HTTP::Headers #

[View source]
def size : UInt64 | Nil #

[View source]
def to_json_any : JSON::Any #

[View source]