Instance Propertyasync-http-client 1.25.2AsyncHTTPClient
totalBytes
FileDownloadDelegate.swift:24var totalBytes: Int?
var totalBytes: Int?
s15AsyncHTTPClient20FileDownloadDelegateC8ProgressV10totalBytesSiSgvp
What are these?1FL3K
import AsyncHTTPClient
This package provides simple HTTP Client library built on top of SwiftNIO.
struct Progress
The response type for this delegate: the total count of bytes as reported by the response “Content-Length” header (if available) and the count of bytes downloaded.
final class FileDownloadDelegate
Handles a streaming download to a given file path, allowing headers and progress to be reported.
@frozen struct Int
A signed integer value type.
var receivedBytes: Int