System.Net.HttpWebRequest.HttpWebRequest.CheckIfForceWrite C# (CSharp) Method

CheckIfForceWrite() private method

private CheckIfForceWrite ( ) : void
return void
		void CheckIfForceWrite ()
		{
			if (writeStream == null || writeStream.RequestWritten|| contentLength < 0 || !InternalAllowBuffering)
				return;

			// This will write the POST/PUT if the write stream already has the expected
			// amount of bytes in it (ContentLength) (bug #77753).
			if (writeStream.WriteBufferLength == contentLength)
				writeStream.WriteRequest ();
		}