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

System.Web.HttpWorkerRequest.GetPreloadedEntityBody Method

Returns the HTTP request body that has been prefetched.

public virtual byte[] GetPreloadedEntityBody ()

Returns

The byte array containing the data that has been prefetched.

Remarks

This method should be invoked prior to calling HttpWorkerRequest.ReadEntityBody(byte[], int) as the web server implementing this class might have loaded some data in advance.

See also: HttpWorkerRequest.HasEntityBody() and HttpWorkerRequest.IsEntireEntityBodyIsPreloaded().

Requirements

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