Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCookies

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Collection of HTTP cookies

Declaration

Source position: httpdefs.pp line 200

type TCookies = class(TCollection)

public

  function Add;

  

Adds a new cookie to the collection

  function AddFromString();

  

Adds a cookie from a string representation

  function CookieByName();

  

Finds a cookie by name

  function FindCookie();

  

Finds a cookie by name

  function IndexOfCookie();

  

Returns the index of a cookie by name

  property Items []: TCookie; default; [rw]

  

Cookie at the specified index

end;

Inheritance

TCookies

  

Collection of HTTP cookies

|

TCollection

|

TPersistent

|

TObject,IFPObserved

Description

TCookies is a collection class that manages multiple TCookie objects. It provides methods to add, find, and access cookies by name or index.

See also

TCookie

  

HTTP cookie implementation


Documentation generated on: Jan 16 2026