Skip to content

struct HTTP::FormData::FileMetadata
inherits Struct

Metadata which may be available for uploaded files.

Class methods

.new(filename : String? = nil, creation_time : Time? = nil, modification_time : Time? = nil, read_time : Time? = nil, size : UInt64? = nil)

View source

Methods

#clone

View source

#copy_with(filename _filename = @filename, creation_time _creation_time = @creation_time, modification_time _modification_time = @modification_time, read_time _read_time = @read_time, size _size = @size)

View source

#creation_time : Time?

#filename : String?

#modification_time : Time?

#read_time : Time?

#size : UInt64?