TNRequestMiddlewareProtocol

public protocol TNRequestMiddlewareProtocol

This protocol is used to register a plugin that can be used by TNConfiguration to modify body and headers. For example it can be used with Crypt to encrypt / decrypt your data