Skip to content

TCookies.AddFromString

Adds a cookie from a string representation

Declaration

Source position: httpdefs.pp line 215

public 
function TCookies.AddFromString(S: string) : TCookie;

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.