Datasnap.DSHTTPClient.TDSHTTP.AddServerCookie
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp
| |
| Unit: Datasnap.DSHTTPClient | |
| Parent: TDSHTTP | |
Delphi
procedure AddServerCookie(const ACookie: string; const AURL: string);
C++
void __fastcall AddServerCookie(const System::UnicodeString ACookie, const System::UnicodeString AURL);
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. |