Table of Contents

Property BodyTimeout

Namespace
Qavren.Edge.Onnx
Assembly
Qavren.Edge.Onnx.dll

BodyTimeout

The longest a response body may go without delivering a byte. HttpClient.Timeout stops applying once the response headers are read, so without this a stalled body hangs forever. The clock restarts every time bytes arrive: it bounds a stall, not the transfer, so a slow link that keeps moving finishes a gigabyte-sized file in one attempt.

public TimeSpan BodyTimeout { get; set; }

Property Value

TimeSpan