Class: HTTPX::Plugins::Jar
- Inherits:
-
Object
- Object
- HTTPX::Plugins::Jar
- Includes:
- Enumerable[Cookie]
- Defined in:
- sig/plugins/cookies/jar.rbs
Instance Method Summary collapse
- #[] ⇒ Array[Cookie]
- #add ⇒ void
- #delete ⇒ void
- #each {|arg0| ... } ⇒ Object
- #get ⇒ Cookie?
- #get_all ⇒ Array[Cookie]
- #initialize ⇒ Object constructor
- #merge ⇒ self
- #parse ⇒ void
- #set ⇒ void
- #synchronize ⇒ void
Constructor Details
#initialize ⇒ Object
32 |
# File 'sig/plugins/cookies/jar.rbs', line 32
def initialize: (?_Each[cookie] cookies) -> untyped
|
Instance Method Details
#[] ⇒ Array[Cookie]
23 |
# File 'sig/plugins/cookies/jar.rbs', line 23
def []: (http_uri) -> Array[Cookie]
|
#add ⇒ void
This method returns an undefined value.
19 |
# File 'sig/plugins/cookies/jar.rbs', line 19
def add: (Cookie name, ?String path) -> void
|
#delete ⇒ void
This method returns an undefined value.
21 |
# File 'sig/plugins/cookies/jar.rbs', line 21
def delete: (String | Cookie | cookie_attributes name_or_options) -> void
|
#each(arg0) ⇒ void #each(arg0) ⇒ Enumerable[Cookie]
25 26 |
# File 'sig/plugins/cookies/jar.rbs', line 25
def each: (?http_uri?) { (Cookie) -> void } -> void
| (?http_uri?) -> Enumerable[Cookie]
|
#get ⇒ Cookie?
13 |
# File 'sig/plugins/cookies/jar.rbs', line 13
def get: (String | cookie_attributes name_or_options) -> Cookie?
|
#get_all ⇒ Array[Cookie]
15 |
# File 'sig/plugins/cookies/jar.rbs', line 15
def get_all: (String | cookie_attributes name_or_options) -> Array[Cookie]
|
#merge ⇒ self
28 |
# File 'sig/plugins/cookies/jar.rbs', line 28
def merge: (_Each[cookie] cookies) -> self
|
#parse ⇒ void
This method returns an undefined value.
11 |
# File 'sig/plugins/cookies/jar.rbs', line 11
def parse: (String set_cookie) -> void
|
#set ⇒ void
This method returns an undefined value.
17 |
# File 'sig/plugins/cookies/jar.rbs', line 17
def set: (_ToS | Cookie name, ?(cookie_attributes | _ToS) value_or_options) -> void
|
#synchronize ⇒ void
This method returns an undefined value.
34 |
# File 'sig/plugins/cookies/jar.rbs', line 34
def synchronize: [T] { () -> T } -> T
|