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

TCookies.AddFromString

Adds a cookie from a string representation

Declaration

Source position: httpdefs.pp line 207

public function TCookies.AddFromString(

  S: string

):TCookie;

Arguments

S

  

String representation of the cookie to add

Function result

Newly created cookie from string

Description

AddFromString parses a cookie string and creates a new TCookie instance from it. The string should be in the format used in HTTP Set-Cookie headers.


Documentation generated on: Jan 16 2026