RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.ReadClient Method

Provides the abstract (pure virtual) prototype for a method to read from the HTTP request into a buffer.

Pascal
function ReadClient(var Buffer; Count: Integer): Integer; virtual; abstract;
C++
virtual __fastcall int ReadClient( Buffer, int Count) = 0;

Descendants of TWebRequest implement ReadClient. ReadClient is used to read content information from the HTTP request. Use ReadClient to get the next chunk of information when the content of the request message is too large for the Content property.  

Use Buffer to provide a buffer to contain the content information. Use Count to specify the number of bytes to read. ReadClient returns the number of bytes actually read. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!