RequestAdapter
public protocol RequestAdapter
                A type that can inspect and optionally adapt a URLRequest in some manner if necessary.
- 
                  
                  
Inspects and adapts the specified
URLRequestin some manner if necessary and returns the result.Throws
An
Errorif the adaptation encounters an error.Declaration
Swift
func adapt(_ urlRequest: URLRequest) throws -> URLRequestParameters
urlRequestThe URL request to adapt.
Return Value
The adapted
URLRequest. 
      RequestAdapter Protocol Reference