System.Net.HttpClient.THTTPClient.AllowCookies
Delphi
property AllowCookies: Boolean read FAllowCookies write FAllowCookies;
C++
__property bool AllowCookies = {read=FAllowCookies, write=FAllowCookies, nodefault};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | System.Net.HTTPClient.pas System.Net.HTTPClient.hpp |
System.Net.HttpClient | THTTPClient |
Description
Cookies policy used by the HTTP client.
AllowCookies returns True if the HTTP client accepts server cookies. Otherwise, the HTTP client does not accept server cookies.
In both cases, the HTTP client adds the cookies from the cookie manager to the HTTP request.