Class: HTTP::Cookie

Inherits:
Object
  • Object
show all
Defined in:
sig/http.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCookie



1234
# File 'sig/http.rbs', line 1234

def initialize: (String, String, **untyped) -> void

Instance Attribute Details

Returns the value of attribute cookie_value.



1230
1231
1232
# File 'sig/http.rbs', line 1230

def cookie_value
  @cookie_value
end

#nameString (readonly)

Returns the value of attribute name.



1228
1229
1230
# File 'sig/http.rbs', line 1228

def name
  @name
end

#valueString (readonly)

Returns the value of attribute value.



1229
1230
1231
# File 'sig/http.rbs', line 1229

def value
  @value
end

Class Method Details



1233
# File 'sig/http.rbs', line 1233

def self.cookie_value_to_hash: (String) -> Hash[String, String]

.parseArray[HTTP::Cookie]



1232
# File 'sig/http.rbs', line 1232

def self.parse: (String, URI) -> Array[HTTP::Cookie]