FWPropertyListRequestSerializer
@interface FWPropertyListRequestSerializer : FWHTTPRequestSerializer
FWPropertyListRequestSerializer is a subclass of FWHTTPRequestSerializer that encodes parameters as JSON using NSPropertyListSerializer, setting the Content-Type of the encoded request to application/x-plist.
-
The property list format. Possible values are described in “NSPropertyListFormat”.
Declaration
Objective-C
@property (nonatomic) NSPropertyListFormat format; -
Warning
ThewriteOptionsproperty is currently unused.Declaration
Objective-C
@property (nonatomic) NSPropertyListWriteOptions writeOptions; -
Creates and returns a property list serializer with a specified format, read options, and write options.
Warning
The
writeOptionsproperty is currently unused.Declaration
Objective-C
+ (nonnull instancetype)serializerWithFormat:(NSPropertyListFormat)format writeOptions: (NSPropertyListWriteOptions)writeOptions;Parameters
formatThe property list format.
writeOptionsThe property list write options.
FWPropertyListRequestSerializer Class Reference