Skip to content

ReadRequestBodySync Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Web.dll

string ReadRequestBodySync(HttpRequest request, Encoding encoding = null) ​

csharp
string ReadRequestBodySync(HttpRequest request, Encoding encoding = null)

Returns the Request payload as a string (sync). Prefer the async overload for server code.