W3cubDocs

/Crystal

struct HTTP::FormData::FileMetadata

Overview

Metadata which may be available for uploaded files.

Defined in:

http/formdata.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def cloneSource

def 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)Source

def creation_time : Time?

def filename : String?

def modification_time : Time?

def read_time : Time?

def size : UInt64?

© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/HTTP/FormData/FileMetadata.html