The alternate of HttpRequest.EnableRewind() in ASP.NET Core 3.0

alternateasp.net-core-3.0bufferinghttprequest

BufferingHelper.EnableRewind();

Above is an extension method for HttpRequest object in ASP.NET Core 2.2. It is no more there in ASP.NET Core 3.0 (atleast with this name). I want to know it's alternate in ASP.NET Core 3.0. I am not sure if

HttpRequestRewindExtensions.EnableBuffering();

is the alternate.

Best Answer

The alternate is HttpRequestRewindExtensions.EnableBuffering(), indeed. You can see here that internally it just calls EnableRewind().