Web.HTTPApp.TWebResponse.ContentLength
Delphi
property ContentLength: Integer index 0 read GetIntegerVariable write SetIntegerVariable;
C++
__property int ContentLength = {read=GetIntegerVariable, write=SetIntegerVariable, index=0, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | TWebResponse |
Description
Specifies the length, in bytes, of the Content property.
Set ContentLength to the length of the Content property, if it is known. If the length of the Content property is unknown, or if the response message does not include any content, set ContentLength to 0. Web clients use the ContentLength when reading the contents of the HTTP response message.
If the contents of the response message are taken from a stream, the value of ContentLength is set from the stream.