System.Net.HttpClient.IHTTPResponse.ContentLength
Delphi
property ContentLength: Int64 read GetContentLength;
C++
__property __int64 ContentLength = {read=GetContentLength};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | System.Net.HttpClient.pas System.Net.HTTPClient.hpp |
System.Net.HttpClient | IHTTPResponse |
Description
Le champ Content-Length (EN) de la réponse, qui indique la longueur de la réponse.
Si le serveur ne fournit pas un en-tête Content-Length (EN), la propriété ContentLength vaut -1
.