HTTPieRequestDescriptor

public final class HTTPieRequestDescriptor : RequestDescriptor

Descriptor for convert request and target instances for HTTPie tool string representation

  • Descriptor constructor

    Declaration

    Swift

    public init()
  • Method for generating string description of the request

    Declaration

    Swift

    public 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