compatibility/collects/net/cookie-sig.rkt
Eli Barzilay 760adf6428 Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
2011-06-20 04:27:14 -04:00

21 lines
360 B
Racket

#lang racket/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 ())