docs/docsets/Kitura.docset/Contents/Resources/Documents/Structs/Part.html
public struct Part
A part of a parsed multi-part form body.
`
name
`
The name attribute of the part.
Swift
public internal(set) var name: String { get }
`
filename
`
The filename attribute of the part.
Swift
public internal(set) var filename: String { get }
`
type
`
Content type of the data in the part.
Swift
public internal(set) var type: String { get }
`
headers
`
A dictionary of the headers: Content-Type, Content-Disposition, Content-Transfer-Encoding.
Swift
public internal(set) var headers: [Part.HeaderType : String] { get }
`
body
`
The contents of the part.
Swift
public internal(set) var body: ParsedBody { get }
`
HeaderType
`
Possible header types that can be found in a part of multi-part body.
Swift
public enum HeaderType