Enumeration
ContentDisposition.DispositionType
The type of content disposition as defined in HTTP standards. Each disposition type indicates a different way the content should be handled.
enum DispositionType
Topics
Enumeration Cases
ContentDisposition.DispositionType.attachmentIndicates the content should be downloaded and saved locally rather than displayed. Attachment is commonly used for file downloads where the user is expected to save the content rather than view it in the browser or application.ContentDisposition.DispositionType.formDataIndicates this part is a form field in a multipart/form-data submission. This is the standard disposition type used in HTML form submissions.ContentDisposition.DispositionType.inlineIndicates the content should be displayed inline within the context it was received. Inline content is typically rendered directly within a browser window or application view, rather than requiring a separate download step.
Initializers
init(rawValue:)Creates a new instance with the specified raw value.
Relationships
Conforms To
Swift.EquatableSwift.HashableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype