RequestDescriptor
public protocol RequestDescriptor
Defines interface for generation string description of the request
-
Method for generating string description of the request
Declaration
Swift
func description(request: RequestType, target: TargetType, logger: Logger) -> StringParameters
requestRequest object
targetCurrent Moya target
loggerLogger object for printing intermediate log messages
Return Value
String description of the request and target
RequestDescriptor Protocol Reference