Datasnap.DSHTTPClient.TDSHTTP.AddServerCookie

From RAD Studio API Documentation
Jump to: navigation, search

[–] 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

ACookie

The cookie to be passed to the server

AURL

URL where the command is sent.

See Also