Structure
MultipartPart
Represents a single part of a multipart-encoded message.
struct MultipartPart<Body> where Body : RangeReplaceableCollection, Body : Sendable, Body.Element == UInt8
Topics
Initializers
init(headerFields: HTTPFields, body: Body)Creates a newMultipartPart.
Instance Properties
var body: BodyThe body of this part.var contentDisposition: ContentDisposition?Parses and returns the Content-Disposition information from the part’s headers.var headerFields: HTTPFieldsThe header fields for this part.
Default Implementations
Relationships
Conforms To
MultipartPartDecodableMultipartPartEncodableSwift.CopyableSwift.EscapableSwift.SendableSwift.SendableMetatype