MultipartAttachment
public struct MultipartAttachment : Equatable
                Struct representing a multipart attachment to a multipart form data request
- 
                  
                  
The name for the attachment
Declaration
Swift
public let name: String - 
                  
                  
The file name of the attachment
Declaration
Swift
public let fileName: String? - 
                  
                  
The url of the attachment
Declaration
Swift
public let url: URL? - 
                  
                  
The
Datarepresentation of the attachmentDeclaration
Swift
public let data: Data? - 
                  
                  
The mime type of the attachment as a
StringDeclaration
Swift
public var mimeType: String? - 
                  
                  
Undocumented
Declaration
Swift
public init(name: String, fileName: String?, url: URL?, data: Data?, mimeType: String?) 
View on GitHub
        MultipartAttachment Structure Reference