DataPreprocessor - SwiftDocOrg/Alamofire GitHub Wiki
DataPreprocessor
Type used to preprocess Data before it handled by a serializer.
public protocol DataPreprocessor
Requirements
preprocess(_:)
Process Data before it's handled by a serializer.
func preprocess(_ data: Data) throws -> Data
Parameters
- data: The raw
Datato process.