Skip to content

Structure

File

Represents a single file.
struct File

Topics

Initializers

Instance Properties

  • contentType
    Associated MediaType for this file’s extension, if it has one.
  • data
    The file’s data.
  • extension
    The file extension, if it has one.
  • filename
    Name of the file, including extension.

Instance Methods

Default Implementations

Relationships

Conforms To

  • MultipartKit.MultipartPartConvertible
  • Swift.Copyable
  • Swift.Decodable
  • Swift.Encodable
  • Swift.Equatable
  • Swift.Escapable
  • Swift.Sendable
  • Swift.SendableMetatype