Sign in Join
FPDoc Onlineexperiment

TCookies class

In unit HTTPDefs

Collection of HTTP cookies

Declaration

pascal
TCookies = class(TCollection)

Inheritance

  1. TCookies
  2. TCollection
  3. TPersistent
  4. TObject

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

Properties

ItemspublicCookie at the specified index

Methods

GetCookieprotected
SetCookieprotected
AddpublicAdds a new cookie to the collection
AddFromStringpublicAdds a cookie from a string representation
CookieByNamepublicFinds a cookie by name
FindCookiepublicFinds a cookie by name
IndexOfCookiepublicReturns the index of a cookie by name

Inherited

From TCollection (29)

Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount

From TPersistent (6)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.