Class

WEBrick::Cookie

Inheritance
< Object

Attributes

Name Visibility R/W Description
comment public RW
domain public RW
max_age public RW
name public R
path public RW
secure public RW
value public RW
version public RW

Methods

Class

Visibility Signature
public new (name, value)
public parse (str)
public parse_set_cookie (str)
public parse_set_cookies (str)

Instance

Visibility Signature
public expires ()
public expires= (t)
public to_s ()

Class Method Detail

new(name, value)

attr_accessor :comment_url, :discard, :port

parse(str)

Cookie::parse()

  It parses Cookie field sent from the user agent.

parse_set_cookie(str)

parse_set_cookies(str)

Instance Method Detail

expires()

expires=(t)

to_s()