WriteToUpload
public struct WriteToUpload : PCloudAPIMethod
Writes data to an upload session.
-
The identifier of the upload session.
Declaration
Swift
public let uploadId: UInt64
-
The offset at which to write data.
Declaration
Swift
public let offset: UInt64
-
Declaration
Swift
public var requiresAuthentication: Bool { get }
-
Declaration
Swift
public init(uploadId: UInt64, offset: UInt64)
Parameters
uploadId
An upload session identifier.
offset
An offset at which to write data.
-
Declaration
Swift
public func createCommand() -> Call.Command
-
Declaration
Swift
public enum Error : Int