Inherits from AFHTTPRequestSerializer : NSObject
Declared in AFURLRequestSerialization.h

Overview

Throttling Bandwidth for HTTP Request Input Streams

Tasks

  •   format

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

    property
  •   writingOptions

    Options for writing the request JSON data from Foundation objects. For possible values, see the NSJSONSerialization documentation section “NSJSONWritingOptions”. 0 by default.

    property
  • + serializerWithWritingOptions:

    Creates and returns a JSON serializer with specified reading and writing options.

Properties

format

@property (nonatomic, assign) NSPropertyListFormat format
Discussion

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

Declared In

AFURLRequestSerialization.h

writingOptions

@property (nonatomic, assign) NSJSONWritingOptions writingOptions
Discussion

Options for writing the request JSON data from Foundation objects. For possible values, see the NSJSONSerialization documentation section “NSJSONWritingOptions”. 0 by default.

Declared In

AFURLRequestSerialization.h

Class Methods

serializerWithWritingOptions:

+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions
Discussion

Creates and returns a JSON serializer with specified reading and writing options.

Parameters

writingOptions

The specified JSON writing options.

Declared In

AFURLRequestSerialization.h