Instance Propertyasync-http-client 1.25.2AsyncHTTPClient
receivedBytes
FileDownloadDelegate.swift:25var receivedBytes: Int
var receivedBytes: Int
s15AsyncHTTPClient20FileDownloadDelegateC8ProgressV13receivedBytesSivp
What are these?3PDIX
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 totalBytes: Int?