W3cubDocs

/Crystal 0.31

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–2019 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.31.1/HTTP/FormData/FileMetadata.html