HttpRequestFeature.Body Property

Definition

Gets or sets a Stream representing the request body, if any.

Null may be used to represent an empty request body.

C#
public System.IO.Stream Body { get; set; }

Property Value

Implements

Applies to

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0