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 and calls the completion handler with the Result.Declaration
Parameters
urlRequestThe
URLRequestto adapt.sessionThe
Sessionthat will execute theURLRequest.completionThe completion handler that must be called when adaptation is complete.
View on GitHub
Install in Dash
RequestAdapter Protocol Reference