Udostępnij za pośrednictwem


LoggingOptions.BodyReadTimeout Property

Definition

Gets or sets the maximum amount of time to wait for the request or response body to be read.

public:
 property TimeSpan BodyReadTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan BodyReadTimeout { get; set; }
member this.BodyReadTimeout : TimeSpan with get, set
Public Property BodyReadTimeout As TimeSpan

Property Value

The default value is 1 second.

Remarks

The value should be in the range of 1 millisecond to 1 minute.

Applies to