Mono Class Library: System.Web.HttpWorkerRequest Overview | Members

System.Web.HttpWorkerRequest.ReadEntityBody Method

Reads data from the body of the HTTP request.

public virtual int ReadEntityBody (byte[] buffer, int size)

Parameters

buffer
The buffer where data will be placed.
size
Number of bytes to fill in the buffer.

Returns

The number of bytes read into the buffer.

Remarks

Implementations of this method should fill up to size bytes into the buffer. The implementation should return the number of bytes read into the buffer.

See also HttpWorkerRequest.HasEntityBody(), HttpWorkerRequest.IsEntireEntityBodyIsPreloaded() and HttpWorkerRequest.GetPreloadedEntityBody()

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0