Request

public struct Request
extension Upload.Request: CustomStringConvertible

Combines all the necessary input to execute an upload to pCloud.

  • The source of the upload data.

    See more

    Declaration

    Swift

    public enum Body
  • A command.

    Declaration

    Swift

    public var command: Call.Command
  • The upload data.

    Declaration

    Swift

    public var body: Body
  • 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: Call.Command, body: Body, hostName: String, timeoutInterval: TimeInterval? = nil)
  • Declaration

    Swift

    public var description: String { get }