What is the alternate of HttpRequest.EnableRewind() in ASP.NET Core 3.0?

HttprequestBufferingAlternateasp.net Core-3.0

Httprequest Problem Overview


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.

Httprequest Solutions


Solution 1 - Httprequest

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMuhammad Fahad NadeemView Question on Stackoverflow
Solution 1 - HttprequestNarvalexView Answer on Stackoverflow