AFXMLDocumentResponseSerializer Class Reference
| Inherits from | AFHTTPResponseSerializer : NSObject |
| Declared in | AFURLResponseSerialization.h AFURLResponseSerialization.m |
Overview
AFXMLDocumentSerializer is a subclass of AFHTTPResponseSerializer that validates and decodes XML responses as an NSXMLDocument objects.
By default, AFXMLDocumentSerializer accepts the following MIME types, which includes the official standard, application/xml, as well as other commonly-used types:
application/xmltext/xml
Class Methods
serializer
Creates and returns a serializer with default configuration.
+ (instancetype)serializerDeclared In
AFURLResponseSerialization.hserializerWithXMLDocumentOptions:
Creates and returns an XML document serializer with the specified options.
+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)maskParameters
- mask
The XML document options.
Declared In
AFURLResponseSerialization.h