Datasnap.DSHTTPClient.TDSHTTP.AddServerCookie
Delphi
procedure AddServerCookie(const ACookie: string; const AURL: string);
C++
void __fastcall AddServerCookie(const System::UnicodeString ACookie, const System::UnicodeString AURL);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp |
Datasnap.DSHTTPClient | TDSHTTP |
Description
Adds a cookie that is passed to the server with each request.
AddServerCookie receives the following input parameters:
Parameter | Description |
---|---|
|
The cookie to be passed to the server |
|
URL where the command is sent. |