CKCookie is a class for cookie. To send cookies to a browser needs to create cookie objects and set them to a response object. Instead of creating cookie objects, you can also get cookie objects from a request object.
CKCookie objects have a pair of a cookie name and value. If you make the objects have multiple values for one name, you must write code by yourself.
Give arguments of initialize() a name or a pair of name/value. The value of cookie is omittable.
cookie = CKCookie.new( name, value )
CKRequest has some methods for getting cookies. The methods are cookie(key), cookies, cookie_value(key), cookie_values(key). See also CKRequest.
CKResponse has methods for setting cookies. These methods are defined in CKMessage, the superclass of CKResponse. Use add_cookie(cookie) and remove_cookie(cookie).
Parse raw cookie string and return an array of cookies.