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) -> String

    Parameters

    request

    Request object

    target

    Current Moya target

    logger

    Logger object for printing intermediate log messages

    Return Value

    String description of the request and target