Request

public struct Request
extension Call.Request: CustomStringConvertible

Combines all the necessary input to execute a pCloud API call.

  • A command.

    Declaration

    Swift

    public var command: Command
  • An API host name.

    Declaration

    Swift

    public var hostName: String
  • The maximum amount of time (in seconds) that an operation’s load activity can execute while the operation is running.

    Declaration

    Swift

    public var timeoutInterval: TimeInterval?
  • Undocumented

    Declaration

    Swift

    public init(command: Command, hostName: String, timeoutInterval: TimeInterval? = nil)
  • Declaration

    Swift

    public var description: String { get }