Kingfisher Documentation

Typealias Download​Progress​Block

public typealias DownloadProgressBlock = ((_ receivedSize: Int64, _ totalSize: Int64) -> Void) 

The downloading progress block type. The parameter value is the receivedSize of current response. The second parameter is the total expected data length from response's "Content-Length" header. If the expected length is not available, this block will not be called.