mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
710 B
38 lines
710 B
module WEBrick
|
|
class Cookie
|
|
@expires: String?
|
|
|
|
attr_reader name: String?
|
|
|
|
attr_accessor value: String?
|
|
|
|
attr_accessor version: Integer
|
|
|
|
#
|
|
# The cookie domain
|
|
attr_accessor domain: String?
|
|
|
|
attr_accessor path: String?
|
|
|
|
attr_accessor secure: true?
|
|
|
|
attr_accessor comment: String?
|
|
|
|
attr_accessor max_age: Integer?
|
|
|
|
def initialize: (untyped name, untyped value) -> void
|
|
|
|
def expires=: ((Time | _ToS)? t) -> untyped
|
|
|
|
def expires: () -> Time?
|
|
|
|
def to_s: () -> String
|
|
|
|
def self.parse: (String? str) -> Array[instance]?
|
|
|
|
def self.parse_set_cookie: (String str) -> instance
|
|
|
|
def self.parse_set_cookies: (String str) -> Array[instance]
|
|
end
|
|
end
|