System.Net.HttpClient.THTTPClient.AllowCookies

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllowCookies: Boolean read FAllowCookies write FAllowCookies default True;

C++

__property bool AllowCookies = {read=FAllowCookies, write=FAllowCookies, default=1};

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.

See Also