racket/collects/net/cookie-sig.ss
Jay McCarthy 0b816d2942 cookies
svn: r13397
2009-02-03 22:32:35 +00:00

19 lines
333 B
Scheme

#lang scheme/signature
cookie?
valid-domain?
set-cookie
cookie:add-comment
cookie:add-domain
cookie:add-max-age
cookie:add-path
cookie:secure
cookie:version
;; To actually return a cookie (string formated as a cookie):
print-cookie
;; To parse the Cookies header:
get-cookie
get-cookie/single
;; exceptions
(struct cookie-error ())