I am using a TNetHTTPClient in a Delphi 10.2.3 Firemonkey project and would like to clear all stored cookies. I did not find any solution in the help files. I tried this code, but I get the error that the array is read-only:
SetLength(NetHTTPClient1.CookieManager.Cookies, 0);
What can I do to clear all cookies, without destroying the instance of TNetHTTPClient and creating it again?