partContentDisposition (property)

Content disposition for each part.

Syntax

- (NSString*)partContentDisposition:(int)partIdx;
- (void)setPartContentDisposition:(int)partIdx:(NSString*)newPartContentDisposition;
public func partContentDisposition(partIdx: Int32) throws -> String
public func setPartContentDisposition(partIdx: Int32, newPartContentDisposition: String) throws -> Void

Default Value

""

Remarks

Content disposition for each part.

The value in this property is used in the Content-Disposition header. Typical values include "form-data", "attachment" etc. The class fills it out each time the PartDecodedFile is changed. Changing the PartContentDisposition recalculates the PartHeaders as well.

The PartIdx parameter specifies the index of the item in the array. The size of the array is controlled by the PartCount property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]