Declaration
internal void ParsePostBody(
Stream body,
string tempPath = null,
long storeFileUploadInFileAtSize = 16777216
)
Summary
If this request is a POST/PUT/PATCH request, replaces the body of the request with data from the specified stream.
This will clear and reinitialize all the parameter values and file uploads.
Parameters
Stream | body | Stream to read new request body from. |
string | tempPath | The temporary directory to use for file uploads. Default is Path.GetTempPath. |
long | storeFileUploadInFileAtSize | The maximum size (in bytes) at which file uploads are stored in memory.
Any uploads that exceed this limit are written to temporary files on disk. Default is 16 MB. |