System.Net.HttpClientComponent.TNetHTTPClient.CustomHeaders
Delphi
property CustomHeaders[const AName: string]: string read GetCustomHeaderValue write SetCustomHeaderValue;
C++
__property System::UnicodeString CustomHeaders[const System::UnicodeString AName] = {read=GetCustomHeaderValue, write=SetCustomHeaderValue};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | TNetHTTPClient |
Description
En-têtes Custom-Headers que le composant client ajoute à n'importe quelle requête.
La propriété CustomHeaders est un tableau contenant les en-têtes spécifiés par le AName
.
Voir aussi
- System.Net.HttpClient.IHTTPRequest
- System.Net.HttpClientComponent.TNetHTTPClient.Accept
- System.Net.HttpClientComponent.TNetHTTPClient.AcceptCharSet
- System.Net.HttpClientComponent.TNetHTTPClient.AcceptEncoding
- System.Net.HttpClientComponent.TNetHTTPClient.AcceptLanguage
- System.Net.HttpClientComponent.TNetHTTPClient.ContentType