Ziks.WebServer/Controller.cs
/// <summary>
/// Gets the entire body sent in the current request as a string.
/// </summary>
Gets the entire body sent in the current request as a string.
Gets the entire body sent in the current request as a string .
public string GetEntityBodyString()
        {
            if ( _entityBodyString != null ) return _entityBodyString;
            if ( !HasEntityBody ) return _entityBodyString = "";
            using ( var reader = new StreamReader( Request.InputStream ) )
            {
                _entityBodyString = reader.ReadToEnd();
            }
            return _entityBodyString;
        }
public string GetEntityBodyString ( ) { if ( _entityBodyString != null ) return _entityBodyString ; if ( ! HasEntityBody ) return _entityBodyString = " " ; using ( var reader = new StreamReader ( Request . InputStream ) ) { _entityBodyString = reader . ReadToEnd ( ) ; } return _entityBodyString ; }
Gets the entire body sent in the current request as a string.
Gets the entire body sent in the current request as a string .