Edit

Share via


HttpListenerTimeoutManager.EntityBody Property

Definition

Gets or sets the time allowed for the request entity body to arrive.

public:
 property TimeSpan EntityBody { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan EntityBody { get; [System.Runtime.Versioning.SupportedOSPlatform("windows")] set; }
public TimeSpan EntityBody { get; set; }
[<set: System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.EntityBody : TimeSpan with get, set
member this.EntityBody : TimeSpan with get, set
Public Property EntityBody As TimeSpan

Property Value

The time allowed for the request entity body to arrive.

Attributes

Remarks

The default value for this property is 2 minutes.

The HttpListener turns on this timer when the request has an entity body. The timer expiration is initially set to the configured value. When the HttpListener receives additional data indications on the request, it resets the timer to give the connection another interval.

Applies to