API:Web.CGIHTTP.TWinCGIRequest.ReadClient
Delphi
function ReadClient(var Buffer; Count: Integer): Integer; override;
C++
virtual int __fastcall ReadClient(void *Buffer, int Count)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Web.CGIHTTP.pas Web.CGIHTTP.hpp |
Web.CGIHTTP | TWinCGIRequest |
Description
Provides a method to read from the HTTP request into a buffer. {{#multireplace:Web.CGIHTTP.TWinCGIRequest.ReadClient|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Web.CGIHTTP.TCGIRequest.ReadClient|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Web.CGIHTTP.TCGIRequest.ReadClient|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Provides a method to read from the HTTP request into a buffer.
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.