RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TISAPIRequest.ReadClient Method

Reads Count bytes from the HTTP request into Buffer.

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

Use ReadClient to load a chunk of information from the contents of an HTTP request into a buffer. ReadClient allows the server application to get the next chunk of information when the content of the request message is too large for the Content property. ReadClient returns the number of bytes actually read. If no more content is available, ReadClient returns -1. 

 

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