Web.HTTPApp.TWebRequest.ReadClient

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadClient(var Buffer; Count: Integer): Integer; virtual; abstract;

C++

virtual int __fastcall ReadClient(void *Buffer, int Count) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

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

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.

See Also