System.Net.HttpClient.THTTPResponse.ContainsHeader
Delphi
function ContainsHeader(const AName: string): Boolean; virtual;
C++
virtual bool __fastcall ContainsHeader(const System::UnicodeString AName);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Net.HttpClient.pas System.Net.HTTPClient.hpp |
System.Net.HttpClient | THTTPResponse |
Description
Checks whether a given header is present.
System.Net.HttpClient.THTTPResponse.ContainsHeader inherits from System.Net.HttpClient.IHTTPResponse.ContainsHeader. All content below this line refers to System.Net.HttpClient.IHTTPResponse.ContainsHeader.
Checks whether a given header is present.
The ContainsHeader method takes the AName parameter that is the name of the header.
ContainsHeader returns True if the header provided with the AName parameter is present.