System.Net.HttpClient.TCookie

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TCookie = record
  private
    class function StrExpiresToDateTime(const AStrDate: string): TDateTime; static;
  public
    Name: string;
    Value: string;
    Expires: TDateTime;
    Domain: string;
    Path: string;
    Secure: Boolean;
    HttpOnly: Boolean;
    class function Create(const ACookieData: string; const AURI: TURI): TCookie; static;
    function ToString: string;
    function GetServerCookie: string;
  end;

C++

struct DECLSPEC_DRECORD TCookie
{
private:
    static System::TDateTime __fastcall StrExpiresToDateTime(const System::UnicodeString AStrDate);
public:
    System::UnicodeString Name;
    System::UnicodeString Value;
    System::TDateTime Expires;
    System::UnicodeString Domain;
    System::UnicodeString Path;
    bool Secure;
    bool HttpOnly;
    static TCookie __fastcall Create(const System::UnicodeString ACookieData, const System::Net::Urlclient::TURI &AURI);
    System::UnicodeString __fastcall ToString();
    System::UnicodeString __fastcall GetServerCookie();
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Net.HttpClient.pas
System.Net.HTTPClient.hpp
System.Net.HttpClient System.Net.HttpClient

Description

Record type that stores the information related to cookies.

See Also