racket/collects/net/cookie-sig.ss
Jay McCarthy e69a18eefd Stricter cookie contracts
svn: r18629
2010-03-26 16:07:35 +00:00

21 lines
360 B
Scheme

#lang scheme/signature
cookie-name?
cookie-value?
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 ())