Inherits from AFHTTPRequestSerializer : NSObject
Declared in AFURLRequestSerialization.h

Overview

AFPropertyListRequestSerializer is a subclass of AFHTTPRequestSerializer that encodes parameters as JSON using NSPropertyListSerializer, setting the Content-Type of the encoded request to application/x-plist.

Tasks

Properties

format

@property (nonatomic, assign) NSPropertyListFormat format
Discussion

The property list format. Possible values are described in “NSPropertyListFormat”.

Declared In

AFURLRequestSerialization.h

writeOptions

@property (nonatomic, assign) NSPropertyListWriteOptions writeOptions
Discussion

Warning: The writeOptions property is currently unused.

Declared In

AFURLRequestSerialization.h

Class Methods

serializerWithFormat:writeOptions:

+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format writeOptions:(NSPropertyListWriteOptions)writeOptions
Discussion

Creates and returns a property list serializer with a specified format, read options, and write options.

Warning: The writeOptions property is currently unused.

Parameters

format

The property list format.

writeOptions

The property list write options.

Declared In

AFURLRequestSerialization.h