Sign in Join
FPDoc Onlineexperiment

TCookies.AddFromString function

Member of TCookiespublicIn unit HTTPDefs

Adds a cookie from a string representation

Declaration

pascal
function 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.

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