PostMiddleware
public protocol PostMiddleware
Undocumented
-
NetworkClient will call this method after executing a network request.
Throws
the method might throw to prevent futher execution.Declaration
Swift
func didPerform(_ request: URLRequest, response: URLResponse, data: Data?) throws
Parameters
request
network request instance.
response
response instance.
data
response data.