Skip to main content

progress_total

Function progress_total 

Source
pub fn progress_total(
    content_length: Option<u64>,
    expected: Option<u64>,
) -> Option<ProgressTotal>
Expand description

The total to report progress against, given what the response said and what was predicted before it was made. The server’s Content-Length always wins; the estimate fills in only when the server sent none.

TRACES: UR-071 | DR-290 | UT-252