contentType (property)
The value of the content-type header of the message which was encoded/decoded.
Syntax
@property (nonatomic,readwrite,assign,getter=contentType,setter=setContentType:) NSString* contentType; - (NSString*)contentType; - (void)setContentType:(NSString*)newContentType;
public var contentType: String { get {...}
set {...} }
Default Value
""
Remarks
This property contains the value of the content-type header of the message which was encoded/decoded. The class filters it out from the MessageHeaders. It shows the user about the type of the parts and their relation to each other.
The content-type attributes such as filename, boundary, charset etc are held in this property.