BodyPart
public struct BodyPartObject encapsulating a singular part of a multipart form.
- 
                  
                  Initialize a BodyPartinstance.DeclarationSwift public init?(key: String, value: Any)ParameterskeyThe body part identifier. valueThe value of the BodyPart.
- 
                  
                  Initialize a BodyPartinstance.DeclarationSwift public init(key: String, data: Data, mimeType: String? = nil, fileName: String? = nil)ParameterskeyThe body part identifier. dataThe data of the BodyPart. mimeTypeThe MIME type. fileTypeThe data’s file name. 
- 
                  
                  Construct the content of the BodyPart.DeclarationSwift public func content() throws -> DataReturn ValueReturns a Dataobject consisting of the header and data.
 View on GitHub
            View on GitHub
           BodyPart Structure Reference
      BodyPart Structure Reference