RAD Studio VCL Reference
TCGIRequest.ReadClient Method

Provides a method to read from the HTTP request into a buffer.

function ReadClient(var Buffer; Count: Integer): Integer; override;
virtual __fastcall int ReadClient( Buffer, int Count);

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!