Copyright © 2007 Mochi Media, Inc.
Authors: Emad El-Haraty (emad@mochimedia.com).
header() = {Name::string(), Value::string()}
proplist() = [{Key::string(), Value::string()}]
cookie/2 | Short-hand for cookie(Key, Value, []) . |
cookie/3 | Generate a Set-Cookie header field tuple. |
parse_cookie/1 | Parse the contents of a Cookie header field, ignoring cookie attributes, and return a simple property list. |
test/0 | Run tests for mochiweb_cookies. |
cookie(Key::string(), Value::string()) -> header()
Short-hand for cookie(Key, Value, [])
.
cookie(Key::string(), Value::string(), Options::[Option]) -> header()
Generate a Set-Cookie header field tuple.
parse_cookie(Cookie::string()) -> [{K::string(), V::string()}]
Parse the contents of a Cookie header field, ignoring cookie attributes, and return a simple property list.
test() -> ok
Run tests for mochiweb_cookies.
Generated by EDoc, Aug 8 2008, 22:08:36.