diff options
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/gems/webrick-1.9.2/sig/cookie.rbs')
| -rw-r--r-- | vendor/bundle/ruby/3.4.0/gems/webrick-1.9.2/sig/cookie.rbs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.2/sig/cookie.rbs b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.2/sig/cookie.rbs new file mode 100644 index 0000000..6a7dc10 --- /dev/null +++ b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.2/sig/cookie.rbs @@ -0,0 +1,37 @@ +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 |
