diff options
author | 2011-05-29 14:29:26 -0400 | |
---|---|---|
committer | 2011-05-29 14:29:26 -0400 | |
commit | 0932f8d0a699d270069816bbf1a367df68c2aeb5 (patch) | |
tree | 02dc2d6caca935269cf3c6f523ad087c80d9c778 /lib/ur/basis.urs | |
parent | ac03a2629057969e5aaf707c3af3123b74617af3 (diff) |
getHeader and setHeader
Diffstat (limited to 'lib/ur/basis.urs')
-rw-r--r-- | lib/ur/basis.urs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 09fd1a1d..bb671388 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -163,6 +163,16 @@ val setCookie : t ::: Type -> http_cookie t -> {Value : t, Secure : bool} -> transaction unit val clearCookie : t ::: Type -> http_cookie t -> transaction unit +type requestHeader +val blessRequestHeader : string -> requestHeader +val checkRequestHeader : string -> option requestHeader +val getHeader : requestHeader -> transaction (option string) + +type responseHeader +val blessResponseHeader : string -> responseHeader +val checkResponseHeader : string -> option responseHeader +val setHeader : responseHeader -> string -> transaction unit + (** JavaScript-y gadgets *) |