Handbook
Glossary
<cookie> ( value name -- cookie )
HTTP protocol objects
ยป
HTTP cookies
Prev:
cookie
Next:
get-cookie ( request/response name -- cookie/f )
Vocabulary
http
Inputs
value
an
object
name
a
string
Outputs
cookie
a
cookie
Word description
Creates a cookie with the specified name and value. The value can be any object supported by the
present
word.
Definition
USING:
accessors
kernel
;
IN:
http
:
<cookie>
( value name -- cookie )
cookie
new
swap
>>name
swap
>>value
;