RequestDelegate
public protocol RequestDelegate
Represents a RequestDelegate
that is associated with Requestable
.
-
prepare(_:requestable:)
Default implementationCalled to modify a request before sending.
Default Implementation
No-op
Declaration
Swift
func prepare(_ request: URLRequest, requestable: AConfigurable) -> URLRequest
-
didSend(_:requestable:)
Default implementationCalled when the request is sent over the network.
Default Implementation
No-op
Declaration
Swift
func didSend(_ request: Request, requestable: AConfigurable)