LCCompoundResponseSerializer

Objective-C

@interface LCCompoundResponseSerializer : LCHTTPResponseSerializer

Swift

class LCCompoundResponseSerializer : LCHTTPResponseSerializer

LCCompoundSerializer is a subclass of LCHTTPResponseSerializer that delegates the response serialization to the first LCHTTPResponseSerializer object that returns an object for responseObjectForResponse:data:error:, falling back on the default behavior of LCHTTPResponseSerializer. This is useful for supporting multiple potential types and structures of server responses with a single serializer.