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

    The writeOptions property 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 writeOptions property is currently unused.

    Declaration

    Objective-C

    + (nonnull instancetype)serializerWithFormat:(NSPropertyListFormat)format
                                    writeOptions:
                                        (NSPropertyListWriteOptions)writeOptions;

    Parameters

    format

    The property list format.

    writeOptions

    The property list write options.