public struct ResponseContentTransformer<InputContentType, OutputContentType> : ResponseTransformer

A simplified ResponseTransformer that deals only with the content of the response entity, and does not touch the surrounding metadata.

If processEntity(_:) throws or returns nil, the output is an error.

If the input entity’s content does not match the InputContentType, the response is an error.