PartInfo
public struct PartInfo : Codable
Undocumented
-
分片编号
Declaration
Swift
public let part_number: Int
-
分片大小
Declaration
Swift
public let part_size: Int64?
-
etag, 在上传分片结束后,服务端会返回这个分片的Etag,在complete的时候可以在uploadInfo指定分片的Etag,服务端会在合并时对每个分片Etag做校验
Declaration
Swift
public var etag: String?
-
Undocumented
Declaration
Swift
public var upload_url: URL?
-
Undocumented
Declaration
Swift
public init(part_number: Int, part_size: Int64? = nil, etag: String? = nil, upload_url: URL? = nil)