roast-ai 1.0.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.claude/commands/docs/write-comments.md +1 -1
- data/.rubocop.yml +12 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +149 -34
- data/README.md +56 -3
- data/examples/agent_with_multiple_prompts.rb +27 -0
- data/examples/custom_logging.rb +4 -2
- data/examples/demo/Gemfile.lock +49 -15
- data/examples/plugin-gem-example/Gemfile.lock +19 -15
- data/examples/simple_chat.rb +1 -1
- data/examples/simple_pi_agent.rb +18 -0
- data/internal/rubocop/cop/roast/no_test_class_nesting.rb +126 -0
- data/internal/rubocop/rubocop-roast.yml +6 -0
- data/internal/workflows/maintenance/branch_docs_impact.rb +97 -0
- data/internal/workflows/maintenance/deprecated_models_docs_updater.rb +78 -0
- data/lib/roast/cog/config.rb +1 -1
- data/lib/roast/cog/output.rb +2 -1
- data/lib/roast/cog/registry.rb +3 -3
- data/lib/roast/cog_input_manager.rb +28 -7
- data/lib/roast/cogs/agent/config.rb +2 -2
- data/lib/roast/cogs/agent/input.rb +20 -22
- data/lib/roast/cogs/agent/providers/claude/claude_invocation.rb +13 -5
- data/lib/roast/cogs/agent/providers/claude/messages/result_message.rb +1 -1
- data/lib/roast/cogs/agent/providers/claude/tool_result.rb +344 -4
- data/lib/roast/cogs/agent/providers/claude/tool_use.rb +356 -1
- data/lib/roast/cogs/agent/providers/claude.rb +16 -3
- data/lib/roast/cogs/agent/providers/pi/messages/tool_call_message.rb +60 -0
- data/lib/roast/cogs/agent/providers/pi/messages/tool_result_message.rb +57 -0
- data/lib/roast/cogs/agent/providers/pi/pi_invocation.rb +352 -0
- data/lib/roast/cogs/agent/providers/pi.rb +41 -0
- data/lib/roast/cogs/agent/stats.rb +29 -0
- data/lib/roast/cogs/agent/usage.rb +22 -0
- data/lib/roast/cogs/agent.rb +5 -6
- data/lib/roast/cogs/chat/config.rb +28 -2
- data/lib/roast/cogs/chat.rb +82 -10
- data/lib/roast/event.rb +1 -0
- data/lib/roast/event_monitor.rb +35 -3
- data/lib/roast/log.rb +21 -0
- data/lib/roast/log_formatter.rb +9 -7
- data/lib/roast/version.rb +1 -1
- data/lib/roast.rb +1 -3
- data/roast-ai.gemspec +2 -1
- data/sorbet/rbi/gems/activesupport@8.0.2.rbi +549 -383
- data/sorbet/rbi/gems/addressable@2.8.7.rbi +46 -44
- data/sorbet/rbi/gems/ast@2.4.3.rbi +7 -6
- data/sorbet/rbi/gems/async@2.34.0.rbi +21 -3
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +7 -7
- data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +198 -1
- data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +405 -328
- data/sorbet/rbi/gems/console@1.34.2.rbi +2 -2
- data/sorbet/rbi/gems/docile@1.4.1.rbi +30 -30
- data/sorbet/rbi/gems/drb@2.2.3.rbi +25 -25
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +2 -0
- data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +2 -77
- data/sorbet/rbi/gems/faraday-retry@2.3.2.rbi +2 -57
- data/sorbet/rbi/gems/faraday@2.14.1.rbi +382 -75
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +1 -110
- data/sorbet/rbi/gems/guard-minitest@2.4.6.rbi +0 -139
- data/sorbet/rbi/gems/guard@2.19.1.rbi +38 -38
- data/sorbet/rbi/gems/hashdiff@1.2.0.rbi +3 -3
- data/sorbet/rbi/gems/i18n@1.14.7.rbi +53 -29
- data/sorbet/rbi/gems/io-event@1.14.0.rbi +67 -10
- data/sorbet/rbi/gems/json@2.18.1.rbi +227 -5
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +83 -0
- data/sorbet/rbi/gems/listen@3.9.0.rbi +7 -7
- data/sorbet/rbi/gems/logger@1.7.0.rbi +3 -3
- data/sorbet/rbi/gems/lumberjack@1.2.10.rbi +21 -21
- data/sorbet/rbi/gems/marcel@1.1.0.rbi +1 -1
- data/sorbet/rbi/gems/minitest-rg@5.3.0.rbi +0 -96
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +1 -16
- data/sorbet/rbi/gems/net-http@0.9.1.rbi +27 -19
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +18 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +20 -20
- data/sorbet/rbi/gems/ostruct@0.6.2.rbi +149 -15
- data/sorbet/rbi/gems/parser@3.3.8.0.rbi +141 -139
- data/sorbet/rbi/gems/prism@1.4.0.rbi +922 -864
- data/sorbet/rbi/gems/public_suffix@6.0.2.rbi +56 -35
- data/sorbet/rbi/gems/racc@1.8.1.rbi +10 -2
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +12 -12
- data/sorbet/rbi/gems/rake@13.3.0.rbi +219 -318
- data/sorbet/rbi/gems/{rbi@0.3.6.rbi → rbi@0.3.9.rbi} +612 -2267
- data/sorbet/rbi/gems/{rbs@3.9.4.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +151 -113
- data/sorbet/rbi/gems/require-hooks@0.2.3.rbi +110 -0
- data/sorbet/rbi/gems/rexml@3.4.2.rbi +24 -51
- data/sorbet/rbi/gems/rubocop-ast@1.45.1.rbi +506 -815
- data/sorbet/rbi/gems/rubocop-sorbet@0.10.5.rbi +16 -16
- data/sorbet/rbi/gems/rubocop@1.77.0.rbi +2692 -2327
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -8
- data/sorbet/rbi/gems/ruby_llm@1.8.2.rbi +38 -23
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +1 -1
- data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +2 -131
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +28 -127
- data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
- data/sorbet/rbi/gems/sqlite3@2.9.0.rbi +91 -1
- data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
- data/sorbet/rbi/gems/thor@1.4.0.rbi +53 -53
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
- data/sorbet/rbi/gems/type_toolkit@0.0.5.rbi +49 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +144 -143
- data/sorbet/rbi/gems/uri@1.1.1.rbi +7 -7
- data/sorbet/rbi/gems/vcr@6.3.1.rbi +53 -36
- data/sorbet/rbi/gems/webmock@3.25.1.rbi +38 -13
- data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +39 -272
- data/sorbet/rbi/shims/lib/roast/execution_context.rbi +3 -3
- data/tutorial/01_your_first_workflow/README.md +9 -5
- data/tutorial/01_your_first_workflow/configured_chat.rb +1 -1
- data/tutorial/02_chaining_cogs/README.md +2 -2
- data/tutorial/02_chaining_cogs/code_review.rb +1 -1
- data/tutorial/02_chaining_cogs/session_resumption.rb +1 -1
- data/tutorial/03_targets_and_params/README.md +1 -1
- data/tutorial/04_configuration_options/README.md +2 -2
- data/tutorial/08_iterative_workflows/README.md +1 -1
- data/tutorial/README.md +1 -1
- metadata +39 -17
- data/docs/AGENT_STEPS.md +0 -288
- data/docs/INSTRUMENTATION.md +0 -243
- data/docs/ITERATION_SYNTAX.md +0 -147
- data/docs/VALIDATION.md +0 -178
- data/lib/roast/nil_assertions.rb +0 -23
- /data/internal/documentation/{architectural-notes.md → comments/architectural-notes.md} +0 -0
- /data/internal/documentation/{doc-comments-external.md → comments/doc-comments-external.md} +0 -0
- /data/internal/documentation/{doc-comments-internal.md → comments/doc-comments-internal.md} +0 -0
- /data/internal/documentation/{doc-comments.md → comments/doc-comments.md} +0 -0
|
@@ -93,24 +93,24 @@ module Faraday
|
|
|
93
93
|
# @example With an URL argument
|
|
94
94
|
# Faraday.new 'http://faraday.com'
|
|
95
95
|
# # => Faraday::Connection to http://faraday.com
|
|
96
|
+
# @example With an URL argument and an options hash
|
|
97
|
+
# Faraday.new 'http://faraday.com', params: { page: 1 }
|
|
98
|
+
# # => Faraday::Connection to http://faraday.com?page=1
|
|
96
99
|
# @example With everything in an options hash
|
|
97
100
|
# Faraday.new url: 'http://faraday.com',
|
|
98
101
|
# params: { page: 1 }
|
|
99
102
|
# # => Faraday::Connection to http://faraday.com?page=1
|
|
100
|
-
# @example With an URL argument and an options hash
|
|
101
|
-
# Faraday.new 'http://faraday.com', params: { page: 1 }
|
|
102
|
-
# # => Faraday::Connection to http://faraday.com?page=1
|
|
103
103
|
# @option options
|
|
104
104
|
# @option options
|
|
105
105
|
# @option options
|
|
106
106
|
# @option options
|
|
107
107
|
# @option options
|
|
108
108
|
# @option options
|
|
109
|
+
# @param options [Hash]
|
|
109
110
|
# @param url [String, Hash] The optional String base URL to use as a prefix
|
|
110
111
|
# for all requests. Can also be the options Hash. Any of these
|
|
111
112
|
# values will be set on every request made, unless overridden
|
|
112
113
|
# for a specific request.
|
|
113
|
-
# @param options [Hash]
|
|
114
114
|
# @return [Faraday::Connection]
|
|
115
115
|
#
|
|
116
116
|
# source://faraday//lib/faraday.rb#97
|
|
@@ -187,10 +187,10 @@ class Faraday::Adapter
|
|
|
187
187
|
# Fetches either a read, write, or open timeout setting. Defaults to the
|
|
188
188
|
# :timeout value if a more specific one is not given.
|
|
189
189
|
#
|
|
190
|
-
# @param type [Symbol] Describes which timeout setting to get: :read,
|
|
191
|
-
# :write, or :open.
|
|
192
190
|
# @param options [Hash] Hash containing Symbol keys like :timeout,
|
|
193
191
|
# :read_timeout, :write_timeout, or :open_timeout
|
|
192
|
+
# @param type [Symbol] Describes which timeout setting to get: :read,
|
|
193
|
+
# :write, or :open.
|
|
194
194
|
# @return [Integer, nil] Timeout duration in seconds, or nil if no timeout
|
|
195
195
|
# has been set.
|
|
196
196
|
#
|
|
@@ -320,23 +320,31 @@ class Faraday::Adapter::Test::Stub < ::Struct
|
|
|
320
320
|
# Returns the value of attribute block
|
|
321
321
|
#
|
|
322
322
|
# @return [Object] the current value of block
|
|
323
|
+
#
|
|
324
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
323
325
|
def block; end
|
|
324
326
|
|
|
325
327
|
# Sets the attribute block
|
|
326
328
|
#
|
|
327
329
|
# @param value [Object] the value to set the attribute block to.
|
|
328
330
|
# @return [Object] the newly set value
|
|
331
|
+
#
|
|
332
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
329
333
|
def block=(_); end
|
|
330
334
|
|
|
331
335
|
# Returns the value of attribute body
|
|
332
336
|
#
|
|
333
337
|
# @return [Object] the current value of body
|
|
338
|
+
#
|
|
339
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
334
340
|
def body; end
|
|
335
341
|
|
|
336
342
|
# Sets the attribute body
|
|
337
343
|
#
|
|
338
344
|
# @param value [Object] the value to set the attribute body to.
|
|
339
345
|
# @return [Object] the newly set value
|
|
346
|
+
#
|
|
347
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
340
348
|
def body=(_); end
|
|
341
349
|
|
|
342
350
|
# @return [Boolean]
|
|
@@ -347,12 +355,16 @@ class Faraday::Adapter::Test::Stub < ::Struct
|
|
|
347
355
|
# Returns the value of attribute headers
|
|
348
356
|
#
|
|
349
357
|
# @return [Object] the current value of headers
|
|
358
|
+
#
|
|
359
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
350
360
|
def headers; end
|
|
351
361
|
|
|
352
362
|
# Sets the attribute headers
|
|
353
363
|
#
|
|
354
364
|
# @param value [Object] the value to set the attribute headers to.
|
|
355
365
|
# @return [Object] the newly set value
|
|
366
|
+
#
|
|
367
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
356
368
|
def headers=(_); end
|
|
357
369
|
|
|
358
370
|
# @return [Boolean]
|
|
@@ -363,12 +375,16 @@ class Faraday::Adapter::Test::Stub < ::Struct
|
|
|
363
375
|
# Returns the value of attribute host
|
|
364
376
|
#
|
|
365
377
|
# @return [Object] the current value of host
|
|
378
|
+
#
|
|
379
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
366
380
|
def host; end
|
|
367
381
|
|
|
368
382
|
# Sets the attribute host
|
|
369
383
|
#
|
|
370
384
|
# @param value [Object] the value to set the attribute host to.
|
|
371
385
|
# @return [Object] the newly set value
|
|
386
|
+
#
|
|
387
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
372
388
|
def host=(_); end
|
|
373
389
|
|
|
374
390
|
# @param env [Faraday::Env]
|
|
@@ -386,12 +402,16 @@ class Faraday::Adapter::Test::Stub < ::Struct
|
|
|
386
402
|
# Returns the value of attribute path
|
|
387
403
|
#
|
|
388
404
|
# @return [Object] the current value of path
|
|
405
|
+
#
|
|
406
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
389
407
|
def path; end
|
|
390
408
|
|
|
391
409
|
# Sets the attribute path
|
|
392
410
|
#
|
|
393
411
|
# @param value [Object] the value to set the attribute path to.
|
|
394
412
|
# @return [Object] the newly set value
|
|
413
|
+
#
|
|
414
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
395
415
|
def path=(_); end
|
|
396
416
|
|
|
397
417
|
# @return [Boolean]
|
|
@@ -402,33 +422,50 @@ class Faraday::Adapter::Test::Stub < ::Struct
|
|
|
402
422
|
# Returns the value of attribute query
|
|
403
423
|
#
|
|
404
424
|
# @return [Object] the current value of query
|
|
425
|
+
#
|
|
426
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
405
427
|
def query; end
|
|
406
428
|
|
|
407
429
|
# Sets the attribute query
|
|
408
430
|
#
|
|
409
431
|
# @param value [Object] the value to set the attribute query to.
|
|
410
432
|
# @return [Object] the newly set value
|
|
433
|
+
#
|
|
434
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
411
435
|
def query=(_); end
|
|
412
436
|
|
|
413
437
|
# Returns the value of attribute strict_mode
|
|
414
438
|
#
|
|
415
439
|
# @return [Object] the current value of strict_mode
|
|
440
|
+
#
|
|
441
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
416
442
|
def strict_mode; end
|
|
417
443
|
|
|
418
444
|
# Sets the attribute strict_mode
|
|
419
445
|
#
|
|
420
446
|
# @param value [Object] the value to set the attribute strict_mode to.
|
|
421
447
|
# @return [Object] the newly set value
|
|
448
|
+
#
|
|
449
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
422
450
|
def strict_mode=(_); end
|
|
423
451
|
|
|
424
452
|
# source://faraday//lib/faraday/adapter/test.rb#253
|
|
425
453
|
def to_s; end
|
|
426
454
|
|
|
427
455
|
class << self
|
|
456
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
428
457
|
def [](*_arg0); end
|
|
458
|
+
|
|
459
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
429
460
|
def inspect; end
|
|
461
|
+
|
|
462
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
430
463
|
def keyword_init?; end
|
|
464
|
+
|
|
465
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
431
466
|
def members; end
|
|
467
|
+
|
|
468
|
+
# source://faraday//lib/faraday/adapter/test.rb#187
|
|
432
469
|
def new(*_arg0); end
|
|
433
470
|
end
|
|
434
471
|
end
|
|
@@ -488,8 +525,8 @@ class Faraday::Adapter::Test::Stubs
|
|
|
488
525
|
|
|
489
526
|
protected
|
|
490
527
|
|
|
491
|
-
# @param stack [Hash]
|
|
492
528
|
# @param env [Faraday::Env]
|
|
529
|
+
# @param stack [Hash]
|
|
493
530
|
# @return [Boolean]
|
|
494
531
|
#
|
|
495
532
|
# source://faraday//lib/faraday/adapter/test.rb#177
|
|
@@ -563,28 +600,28 @@ class Faraday::Connection
|
|
|
563
600
|
# @option options
|
|
564
601
|
# @option options
|
|
565
602
|
# @option options
|
|
603
|
+
# @param options [Hash, Faraday::ConnectionOptions]
|
|
566
604
|
# @param url [URI, String] URI or String base URL to use as a prefix for all
|
|
567
605
|
# requests (optional).
|
|
568
|
-
# @param options [Hash, Faraday::ConnectionOptions]
|
|
569
606
|
# @return [Connection] a new instance of Connection
|
|
570
607
|
# @yield [self] after all setup has been done
|
|
571
608
|
#
|
|
572
609
|
# source://faraday//lib/faraday/connection.rb#63
|
|
573
610
|
def initialize(url = T.unsafe(nil), options = T.unsafe(nil)); end
|
|
574
611
|
|
|
575
|
-
# source://
|
|
612
|
+
# source://faraday//lib/faraday/connection.rb#120
|
|
576
613
|
def adapter(*args, **_arg1, &block); end
|
|
577
614
|
|
|
578
|
-
# source://
|
|
615
|
+
# source://faraday//lib/faraday/connection.rb#120
|
|
579
616
|
def app(*args, **_arg1, &block); end
|
|
580
617
|
|
|
581
618
|
# Build an absolute URL based on url_prefix.
|
|
582
619
|
#
|
|
583
620
|
# of the resulting url (default: nil).
|
|
584
621
|
#
|
|
585
|
-
# @param url [String, URI, nil]
|
|
586
622
|
# @param params [Faraday::Utils::ParamsHash] A Faraday::Utils::ParamsHash to
|
|
587
623
|
# replace the query values
|
|
624
|
+
# @param url [String, URI, nil]
|
|
588
625
|
# @return [URI]
|
|
589
626
|
#
|
|
590
627
|
# source://faraday//lib/faraday/connection.rb#478
|
|
@@ -613,8 +650,8 @@ class Faraday::Connection
|
|
|
613
650
|
#
|
|
614
651
|
# conn.build_url("nigiri", page: 2)
|
|
615
652
|
# # => https://httpbingo.org/api/nigiri?token=abc&page=2
|
|
616
|
-
# @param url [String, URI, nil]
|
|
617
653
|
# @param extra_params [Hash]
|
|
654
|
+
# @param url [String, URI, nil]
|
|
618
655
|
#
|
|
619
656
|
# source://faraday//lib/faraday/connection.rb#415
|
|
620
657
|
def build_url(url = T.unsafe(nil), extra_params = T.unsafe(nil)); end
|
|
@@ -645,7 +682,7 @@ class Faraday::Connection
|
|
|
645
682
|
# source://faraday//lib/faraday/connection.rb#40
|
|
646
683
|
def default_parallel_manager=(_arg0); end
|
|
647
684
|
|
|
648
|
-
# source://faraday//lib/faraday/connection.rb#
|
|
685
|
+
# source://faraday//lib/faraday/connection.rb#198
|
|
649
686
|
def delete(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end
|
|
650
687
|
|
|
651
688
|
# Creates a duplicate of this Faraday::Connection.
|
|
@@ -659,10 +696,10 @@ class Faraday::Connection
|
|
|
659
696
|
# source://faraday//lib/faraday/connection.rb#543
|
|
660
697
|
def find_default_proxy; end
|
|
661
698
|
|
|
662
|
-
# source://faraday//lib/faraday/connection.rb#
|
|
699
|
+
# source://faraday//lib/faraday/connection.rb#198
|
|
663
700
|
def get(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end
|
|
664
701
|
|
|
665
|
-
# source://faraday//lib/faraday/connection.rb#
|
|
702
|
+
# source://faraday//lib/faraday/connection.rb#198
|
|
666
703
|
def head(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end
|
|
667
704
|
|
|
668
705
|
# @return [Hash] unencoded HTTP header key/value pairs.
|
|
@@ -677,10 +714,10 @@ class Faraday::Connection
|
|
|
677
714
|
# source://faraday//lib/faraday/connection.rb#114
|
|
678
715
|
def headers=(hash); end
|
|
679
716
|
|
|
680
|
-
# source://
|
|
717
|
+
# source://faraday//lib/faraday/connection.rb#346
|
|
681
718
|
def host(*args, **_arg1, &block); end
|
|
682
719
|
|
|
683
|
-
# source://
|
|
720
|
+
# source://faraday//lib/faraday/connection.rb#346
|
|
684
721
|
def host=(*args, **_arg1, &block); end
|
|
685
722
|
|
|
686
723
|
# Sets up the parallel manager to make a set of requests.
|
|
@@ -730,10 +767,10 @@ class Faraday::Connection
|
|
|
730
767
|
# source://faraday//lib/faraday/connection.rb#108
|
|
731
768
|
def params=(hash); end
|
|
732
769
|
|
|
733
|
-
# source://faraday//lib/faraday/connection.rb#
|
|
770
|
+
# source://faraday//lib/faraday/connection.rb#278
|
|
734
771
|
def patch(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end
|
|
735
772
|
|
|
736
|
-
# source://
|
|
773
|
+
# source://faraday//lib/faraday/connection.rb#347
|
|
737
774
|
def path_prefix(*args, **_arg1, &block); end
|
|
738
775
|
|
|
739
776
|
# Sets the path prefix and ensures that it always has a leading
|
|
@@ -745,13 +782,13 @@ class Faraday::Connection
|
|
|
745
782
|
# source://faraday//lib/faraday/connection.rb#390
|
|
746
783
|
def path_prefix=(value); end
|
|
747
784
|
|
|
748
|
-
# source://
|
|
785
|
+
# source://faraday//lib/faraday/connection.rb#346
|
|
749
786
|
def port(*args, **_arg1, &block); end
|
|
750
787
|
|
|
751
|
-
# source://
|
|
788
|
+
# source://faraday//lib/faraday/connection.rb#346
|
|
752
789
|
def port=(*args, **_arg1, &block); end
|
|
753
790
|
|
|
754
|
-
# source://faraday//lib/faraday/connection.rb#
|
|
791
|
+
# source://faraday//lib/faraday/connection.rb#278
|
|
755
792
|
def post(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end
|
|
756
793
|
|
|
757
794
|
# @return [Hash] proxy options.
|
|
@@ -772,31 +809,31 @@ class Faraday::Connection
|
|
|
772
809
|
# source://faraday//lib/faraday/connection.rb#523
|
|
773
810
|
def proxy_from_env(url); end
|
|
774
811
|
|
|
775
|
-
# source://faraday//lib/faraday/connection.rb#
|
|
812
|
+
# source://faraday//lib/faraday/connection.rb#278
|
|
776
813
|
def put(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end
|
|
777
814
|
|
|
778
|
-
# source://
|
|
815
|
+
# source://faraday//lib/faraday/connection.rb#120
|
|
779
816
|
def request(*args, **_arg1, &block); end
|
|
780
817
|
|
|
781
|
-
# source://
|
|
818
|
+
# source://faraday//lib/faraday/connection.rb#120
|
|
782
819
|
def response(*args, **_arg1, &block); end
|
|
783
820
|
|
|
784
821
|
# Builds and runs the Faraday::Request.
|
|
785
822
|
#
|
|
786
|
-
# @param method [Symbol] HTTP method.
|
|
787
|
-
# @param url [String, URI, nil] String or URI to access.
|
|
788
823
|
# @param body [String, Hash, Array, nil] The request body that will eventually be converted to
|
|
789
824
|
# a string; middlewares can be used to support more complex types.
|
|
790
825
|
# @param headers [Hash, nil] unencoded HTTP header key/value pairs.
|
|
826
|
+
# @param method [Symbol] HTTP method.
|
|
827
|
+
# @param url [String, URI, nil] String or URI to access.
|
|
791
828
|
# @return [Faraday::Response]
|
|
792
829
|
#
|
|
793
830
|
# source://faraday//lib/faraday/connection.rb#439
|
|
794
831
|
def run_request(method, url, body, headers); end
|
|
795
832
|
|
|
796
|
-
# source://
|
|
833
|
+
# source://faraday//lib/faraday/connection.rb#346
|
|
797
834
|
def scheme(*args, **_arg1, &block); end
|
|
798
835
|
|
|
799
|
-
# source://
|
|
836
|
+
# source://faraday//lib/faraday/connection.rb#346
|
|
800
837
|
def scheme=(*args, **_arg1, &block); end
|
|
801
838
|
|
|
802
839
|
# source://faraday//lib/faraday/connection.rb#379
|
|
@@ -812,7 +849,7 @@ class Faraday::Connection
|
|
|
812
849
|
# source://faraday//lib/faraday/connection.rb#561
|
|
813
850
|
def support_parallel?(adapter); end
|
|
814
851
|
|
|
815
|
-
# source://faraday//lib/faraday/connection.rb#
|
|
852
|
+
# source://faraday//lib/faraday/connection.rb#198
|
|
816
853
|
def trace(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end
|
|
817
854
|
|
|
818
855
|
# @return [String] a URI with the prefix used for all requests from this
|
|
@@ -833,13 +870,13 @@ class Faraday::Connection
|
|
|
833
870
|
# conn.path_prefix # => "/api"
|
|
834
871
|
#
|
|
835
872
|
# conn.get("nigiri?page=2") # accesses https://httpbingo.org/api/nigiri
|
|
836
|
-
# @param url [String, URI]
|
|
837
873
|
# @param encoder [Object]
|
|
874
|
+
# @param url [String, URI]
|
|
838
875
|
#
|
|
839
876
|
# source://faraday//lib/faraday/connection.rb#364
|
|
840
877
|
def url_prefix=(url, encoder = T.unsafe(nil)); end
|
|
841
878
|
|
|
842
|
-
# source://
|
|
879
|
+
# source://faraday//lib/faraday/connection.rb#120
|
|
843
880
|
def use(*args, **_arg1, &block); end
|
|
844
881
|
|
|
845
882
|
# Yields username and password extracted from a URI if they both exist.
|
|
@@ -848,8 +885,8 @@ class Faraday::Connection
|
|
|
848
885
|
# @param uri [URI]
|
|
849
886
|
# @return [void]
|
|
850
887
|
# @yield [username, password] any username and password
|
|
851
|
-
# @yieldparam username [String] any username from URI
|
|
852
888
|
# @yieldparam password [String] any password from URI
|
|
889
|
+
# @yieldparam username [String] any username from URI
|
|
853
890
|
#
|
|
854
891
|
# source://faraday//lib/faraday/connection.rb#517
|
|
855
892
|
def with_uri_credentials(uri); end
|
|
@@ -873,43 +910,77 @@ class Faraday::ConnectionFailed < ::Faraday::Error; end
|
|
|
873
910
|
#
|
|
874
911
|
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
875
912
|
class Faraday::ConnectionOptions < ::Faraday::Options
|
|
913
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
876
914
|
def builder; end
|
|
915
|
+
|
|
916
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
877
917
|
def builder=(_); end
|
|
878
918
|
|
|
879
|
-
# source://faraday//lib/faraday/options.rb#
|
|
919
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
880
920
|
def builder_class; end
|
|
881
921
|
|
|
922
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
882
923
|
def builder_class=(_); end
|
|
924
|
+
|
|
925
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
883
926
|
def headers; end
|
|
927
|
+
|
|
928
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
884
929
|
def headers=(_); end
|
|
885
930
|
|
|
886
931
|
# source://faraday//lib/faraday/options/connection_options.rb#19
|
|
887
932
|
def new_builder(block); end
|
|
888
933
|
|
|
934
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
889
935
|
def parallel_manager; end
|
|
936
|
+
|
|
937
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
890
938
|
def parallel_manager=(_); end
|
|
939
|
+
|
|
940
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
891
941
|
def params; end
|
|
942
|
+
|
|
943
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
892
944
|
def params=(_); end
|
|
945
|
+
|
|
946
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
893
947
|
def proxy; end
|
|
948
|
+
|
|
949
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
894
950
|
def proxy=(_); end
|
|
895
951
|
|
|
896
|
-
# source://faraday//lib/faraday/options.rb#
|
|
952
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
897
953
|
def request; end
|
|
898
954
|
|
|
955
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
899
956
|
def request=(_); end
|
|
900
957
|
|
|
901
|
-
# source://faraday//lib/faraday/options.rb#
|
|
958
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
902
959
|
def ssl; end
|
|
903
960
|
|
|
961
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
904
962
|
def ssl=(_); end
|
|
963
|
+
|
|
964
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
905
965
|
def url; end
|
|
966
|
+
|
|
967
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
906
968
|
def url=(_); end
|
|
907
969
|
|
|
908
970
|
class << self
|
|
971
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
909
972
|
def [](*_arg0); end
|
|
973
|
+
|
|
974
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
910
975
|
def inspect; end
|
|
976
|
+
|
|
977
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
911
978
|
def keyword_init?; end
|
|
979
|
+
|
|
980
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
912
981
|
def members; end
|
|
982
|
+
|
|
983
|
+
# source://faraday//lib/faraday/options/connection_options.rb#8
|
|
913
984
|
def new(*_arg0); end
|
|
914
985
|
end
|
|
915
986
|
end
|
|
@@ -1015,9 +1086,13 @@ class Faraday::Env < ::Faraday::Options
|
|
|
1015
1086
|
def inspect; end
|
|
1016
1087
|
|
|
1017
1088
|
# @return [Symbol] HTTP method (`:get`, `:post`)
|
|
1089
|
+
#
|
|
1090
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1018
1091
|
def method; end
|
|
1019
1092
|
|
|
1020
1093
|
# @return [Symbol] HTTP method (`:get`, `:post`)
|
|
1094
|
+
#
|
|
1095
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1021
1096
|
def method=(_); end
|
|
1022
1097
|
|
|
1023
1098
|
# source://faraday//lib/faraday/options/env.rb#133
|
|
@@ -1027,27 +1102,39 @@ class Faraday::Env < ::Faraday::Options
|
|
|
1027
1102
|
def parallel?; end
|
|
1028
1103
|
|
|
1029
1104
|
# @return [Object] sent if the connection is in parallel mode
|
|
1105
|
+
#
|
|
1106
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1030
1107
|
def parallel_manager; end
|
|
1031
1108
|
|
|
1032
1109
|
# @return [Object] sent if the connection is in parallel mode
|
|
1110
|
+
#
|
|
1111
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1033
1112
|
def parallel_manager=(_); end
|
|
1034
1113
|
|
|
1035
1114
|
# @return [Hash]
|
|
1115
|
+
#
|
|
1116
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1036
1117
|
def params; end
|
|
1037
1118
|
|
|
1038
1119
|
# @return [Hash]
|
|
1120
|
+
#
|
|
1121
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1039
1122
|
def params=(_); end
|
|
1040
1123
|
|
|
1041
|
-
# source://
|
|
1124
|
+
# source://faraday//lib/faraday/options/env.rb#74
|
|
1042
1125
|
def params_encoder(*args, **_arg1, &block); end
|
|
1043
1126
|
|
|
1044
1127
|
# source://faraday//lib/faraday/options/env.rb#145
|
|
1045
1128
|
def parse_body?; end
|
|
1046
1129
|
|
|
1047
1130
|
# @return [String]
|
|
1131
|
+
#
|
|
1132
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1048
1133
|
def reason_phrase; end
|
|
1049
1134
|
|
|
1050
1135
|
# @return [String]
|
|
1136
|
+
#
|
|
1137
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1051
1138
|
def reason_phrase=(_); end
|
|
1052
1139
|
|
|
1053
1140
|
# Options for configuring the request.
|
|
@@ -1067,6 +1154,8 @@ class Faraday::Env < ::Faraday::Options
|
|
|
1067
1154
|
# - `:password` - Proxy server password
|
|
1068
1155
|
#
|
|
1069
1156
|
# @return [Hash] options for configuring the request.
|
|
1157
|
+
#
|
|
1158
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1070
1159
|
def request; end
|
|
1071
1160
|
|
|
1072
1161
|
# Options for configuring the request.
|
|
@@ -1086,42 +1175,70 @@ class Faraday::Env < ::Faraday::Options
|
|
|
1086
1175
|
# - `:password` - Proxy server password
|
|
1087
1176
|
#
|
|
1088
1177
|
# @return [Hash] options for configuring the request.
|
|
1178
|
+
#
|
|
1179
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1089
1180
|
def request=(_); end
|
|
1090
1181
|
|
|
1182
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1091
1183
|
def request_body; end
|
|
1184
|
+
|
|
1185
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1092
1186
|
def request_body=(_); end
|
|
1093
1187
|
|
|
1094
1188
|
# @return [Hash] HTTP Headers to be sent to the server.
|
|
1189
|
+
#
|
|
1190
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1095
1191
|
def request_headers; end
|
|
1096
1192
|
|
|
1097
1193
|
# @return [Hash] HTTP Headers to be sent to the server.
|
|
1194
|
+
#
|
|
1195
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1098
1196
|
def request_headers=(_); end
|
|
1099
1197
|
|
|
1100
1198
|
# @return [Response]
|
|
1199
|
+
#
|
|
1200
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1101
1201
|
def response; end
|
|
1102
1202
|
|
|
1103
1203
|
# @return [Response]
|
|
1204
|
+
#
|
|
1205
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1104
1206
|
def response=(_); end
|
|
1105
1207
|
|
|
1208
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1106
1209
|
def response_body; end
|
|
1210
|
+
|
|
1211
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1107
1212
|
def response_body=(_); end
|
|
1108
1213
|
|
|
1109
1214
|
# @return [Hash] HTTP headers from the server
|
|
1215
|
+
#
|
|
1216
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1110
1217
|
def response_headers; end
|
|
1111
1218
|
|
|
1112
1219
|
# @return [Hash] HTTP headers from the server
|
|
1220
|
+
#
|
|
1221
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1113
1222
|
def response_headers=(_); end
|
|
1114
1223
|
|
|
1115
1224
|
# @return [Hash] options for configuring SSL requests
|
|
1225
|
+
#
|
|
1226
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1116
1227
|
def ssl; end
|
|
1117
1228
|
|
|
1118
1229
|
# @return [Hash] options for configuring SSL requests
|
|
1230
|
+
#
|
|
1231
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1119
1232
|
def ssl=(_); end
|
|
1120
1233
|
|
|
1121
1234
|
# @return [Integer] HTTP response status code
|
|
1235
|
+
#
|
|
1236
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1122
1237
|
def status; end
|
|
1123
1238
|
|
|
1124
1239
|
# @return [Integer] HTTP response status code
|
|
1240
|
+
#
|
|
1241
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1125
1242
|
def status=(_); end
|
|
1126
1243
|
|
|
1127
1244
|
# source://faraday//lib/faraday/options/env.rb#169
|
|
@@ -1134,24 +1251,35 @@ class Faraday::Env < ::Faraday::Options
|
|
|
1134
1251
|
def success?; end
|
|
1135
1252
|
|
|
1136
1253
|
# @return [URI] URI instance for the current request.
|
|
1254
|
+
#
|
|
1255
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1137
1256
|
def url; end
|
|
1138
1257
|
|
|
1139
1258
|
# @return [URI] URI instance for the current request.
|
|
1259
|
+
#
|
|
1260
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1140
1261
|
def url=(_); end
|
|
1141
1262
|
|
|
1142
1263
|
class << self
|
|
1264
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1143
1265
|
def [](*_arg0); end
|
|
1144
1266
|
|
|
1145
1267
|
# source://faraday//lib/faraday/options/env.rb#80
|
|
1146
1268
|
def from(value); end
|
|
1147
1269
|
|
|
1270
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1148
1271
|
def inspect; end
|
|
1272
|
+
|
|
1273
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1149
1274
|
def keyword_init?; end
|
|
1150
1275
|
|
|
1151
1276
|
# source://faraday//lib/faraday/options/env.rb#200
|
|
1152
1277
|
def member_set; end
|
|
1153
1278
|
|
|
1279
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1154
1280
|
def members; end
|
|
1281
|
+
|
|
1282
|
+
# source://faraday//lib/faraday/options/env.rb#57
|
|
1155
1283
|
def new(*_arg0); end
|
|
1156
1284
|
end
|
|
1157
1285
|
end
|
|
@@ -1279,7 +1407,7 @@ module Faraday::FlatParamsEncoder
|
|
|
1279
1407
|
# source://faraday//lib/faraday/encoders/flat_params_encoder.rb#23
|
|
1280
1408
|
def encode(params); end
|
|
1281
1409
|
|
|
1282
|
-
# source://
|
|
1410
|
+
# source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9
|
|
1283
1411
|
def escape(*args, **_arg1, &block); end
|
|
1284
1412
|
|
|
1285
1413
|
# Returns the value of attribute sort_params.
|
|
@@ -1294,7 +1422,7 @@ module Faraday::FlatParamsEncoder
|
|
|
1294
1422
|
# source://faraday//lib/faraday/encoders/flat_params_encoder.rb#99
|
|
1295
1423
|
def sort_params=(_arg0); end
|
|
1296
1424
|
|
|
1297
|
-
# source://
|
|
1425
|
+
# source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9
|
|
1298
1426
|
def unescape(*args, **_arg1, &block); end
|
|
1299
1427
|
end
|
|
1300
1428
|
end
|
|
@@ -1323,22 +1451,22 @@ class Faraday::Logging::Formatter
|
|
|
1323
1451
|
# source://faraday//lib/faraday/logging/formatter.rb#14
|
|
1324
1452
|
def initialize(logger:, options:); end
|
|
1325
1453
|
|
|
1326
|
-
# source://
|
|
1454
|
+
# source://faraday//lib/faraday/logging/formatter.rb#23
|
|
1327
1455
|
def debug(*args, **_arg1, &block); end
|
|
1328
1456
|
|
|
1329
|
-
# source://
|
|
1457
|
+
# source://faraday//lib/faraday/logging/formatter.rb#23
|
|
1330
1458
|
def error(*args, **_arg1, &block); end
|
|
1331
1459
|
|
|
1332
1460
|
# source://faraday//lib/faraday/logging/formatter.rb#41
|
|
1333
1461
|
def exception(exc); end
|
|
1334
1462
|
|
|
1335
|
-
# source://
|
|
1463
|
+
# source://faraday//lib/faraday/logging/formatter.rb#23
|
|
1336
1464
|
def fatal(*args, **_arg1, &block); end
|
|
1337
1465
|
|
|
1338
1466
|
# source://faraday//lib/faraday/logging/formatter.rb#52
|
|
1339
1467
|
def filter(filter_word, filter_replacement); end
|
|
1340
1468
|
|
|
1341
|
-
# source://
|
|
1469
|
+
# source://faraday//lib/faraday/logging/formatter.rb#23
|
|
1342
1470
|
def info(*args, **_arg1, &block); end
|
|
1343
1471
|
|
|
1344
1472
|
# source://faraday//lib/faraday/logging/formatter.rb#25
|
|
@@ -1347,7 +1475,7 @@ class Faraday::Logging::Formatter
|
|
|
1347
1475
|
# source://faraday//lib/faraday/logging/formatter.rb#34
|
|
1348
1476
|
def response(env); end
|
|
1349
1477
|
|
|
1350
|
-
# source://
|
|
1478
|
+
# source://faraday//lib/faraday/logging/formatter.rb#23
|
|
1351
1479
|
def warn(*args, **_arg1, &block); end
|
|
1352
1480
|
|
|
1353
1481
|
private
|
|
@@ -1542,7 +1670,7 @@ module Faraday::NestedParamsEncoder
|
|
|
1542
1670
|
# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170
|
|
1543
1671
|
def array_indices=(_arg0); end
|
|
1544
1672
|
|
|
1545
|
-
# source://
|
|
1673
|
+
# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173
|
|
1546
1674
|
def escape(*args, **_arg1, &block); end
|
|
1547
1675
|
|
|
1548
1676
|
# Returns the value of attribute sort_params.
|
|
@@ -1557,7 +1685,7 @@ module Faraday::NestedParamsEncoder
|
|
|
1557
1685
|
# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170
|
|
1558
1686
|
def sort_params=(_arg0); end
|
|
1559
1687
|
|
|
1560
|
-
# source://
|
|
1688
|
+
# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173
|
|
1561
1689
|
def unescape(*args, **_arg1, &block); end
|
|
1562
1690
|
end
|
|
1563
1691
|
end
|
|
@@ -1626,14 +1754,14 @@ class Faraday::Options < ::Struct
|
|
|
1626
1754
|
#
|
|
1627
1755
|
# @return [Boolean]
|
|
1628
1756
|
#
|
|
1629
|
-
# source://faraday//lib/faraday/options.rb#
|
|
1757
|
+
# source://faraday//lib/faraday/options.rb#117
|
|
1630
1758
|
def has_key?(key); end
|
|
1631
1759
|
|
|
1632
1760
|
# Public
|
|
1633
1761
|
#
|
|
1634
1762
|
# @return [Boolean]
|
|
1635
1763
|
#
|
|
1636
|
-
# source://faraday//lib/faraday/options.rb#
|
|
1764
|
+
# source://faraday//lib/faraday/options.rb#131
|
|
1637
1765
|
def has_value?(value); end
|
|
1638
1766
|
|
|
1639
1767
|
# Internal
|
|
@@ -1742,52 +1870,65 @@ class Faraday::ProxyAuthError < ::Faraday::ClientError; end
|
|
|
1742
1870
|
class Faraday::ProxyOptions < ::Faraday::Options
|
|
1743
1871
|
extend ::Forwardable
|
|
1744
1872
|
|
|
1745
|
-
# source://
|
|
1873
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1746
1874
|
def host(*args, **_arg1, &block); end
|
|
1747
1875
|
|
|
1748
|
-
# source://
|
|
1876
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1749
1877
|
def host=(*args, **_arg1, &block); end
|
|
1750
1878
|
|
|
1751
|
-
# source://faraday//lib/faraday/options.rb#
|
|
1879
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1752
1880
|
def password; end
|
|
1753
1881
|
|
|
1882
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1754
1883
|
def password=(_); end
|
|
1755
1884
|
|
|
1756
|
-
# source://
|
|
1885
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1757
1886
|
def path(*args, **_arg1, &block); end
|
|
1758
1887
|
|
|
1759
|
-
# source://
|
|
1888
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1760
1889
|
def path=(*args, **_arg1, &block); end
|
|
1761
1890
|
|
|
1762
|
-
# source://
|
|
1891
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1763
1892
|
def port(*args, **_arg1, &block); end
|
|
1764
1893
|
|
|
1765
|
-
# source://
|
|
1894
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1766
1895
|
def port=(*args, **_arg1, &block); end
|
|
1767
1896
|
|
|
1768
|
-
# source://
|
|
1897
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1769
1898
|
def scheme(*args, **_arg1, &block); end
|
|
1770
1899
|
|
|
1771
|
-
# source://
|
|
1900
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#10
|
|
1772
1901
|
def scheme=(*args, **_arg1, &block); end
|
|
1773
1902
|
|
|
1903
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1774
1904
|
def uri; end
|
|
1905
|
+
|
|
1906
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1775
1907
|
def uri=(_); end
|
|
1776
1908
|
|
|
1777
|
-
# source://faraday//lib/faraday/options.rb#
|
|
1909
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1778
1910
|
def user; end
|
|
1779
1911
|
|
|
1912
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1780
1913
|
def user=(_); end
|
|
1781
1914
|
|
|
1782
1915
|
class << self
|
|
1916
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1783
1917
|
def [](*_arg0); end
|
|
1784
1918
|
|
|
1785
1919
|
# source://faraday//lib/faraday/options/proxy_options.rb#13
|
|
1786
1920
|
def from(value); end
|
|
1787
1921
|
|
|
1922
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1788
1923
|
def inspect; end
|
|
1924
|
+
|
|
1925
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1789
1926
|
def keyword_init?; end
|
|
1927
|
+
|
|
1928
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1790
1929
|
def members; end
|
|
1930
|
+
|
|
1931
|
+
# source://faraday//lib/faraday/options/proxy_options.rb#8
|
|
1791
1932
|
def new(*_arg0); end
|
|
1792
1933
|
end
|
|
1793
1934
|
end
|
|
@@ -1886,7 +2027,7 @@ class Faraday::RackBuilder
|
|
|
1886
2027
|
|
|
1887
2028
|
# methods to push onto the various positions in the stack:
|
|
1888
2029
|
#
|
|
1889
|
-
# source://faraday//lib/faraday/rack_builder.rb#
|
|
2030
|
+
# source://faraday//lib/faraday/rack_builder.rb#126
|
|
1890
2031
|
def insert_before(index, *_arg1, **_arg2, &_arg3); end
|
|
1891
2032
|
|
|
1892
2033
|
# Locks the middleware stack to ensure no further modifications are made.
|
|
@@ -2019,25 +2160,35 @@ class Faraday::Request < ::Struct
|
|
|
2019
2160
|
def []=(key, value); end
|
|
2020
2161
|
|
|
2021
2162
|
# @return [String] body
|
|
2163
|
+
#
|
|
2164
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2022
2165
|
def body; end
|
|
2023
2166
|
|
|
2024
2167
|
# @return [String] body
|
|
2168
|
+
#
|
|
2169
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2025
2170
|
def body=(_); end
|
|
2026
2171
|
|
|
2027
2172
|
# @return [Faraday::Utils::Headers] headers
|
|
2173
|
+
#
|
|
2174
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2028
2175
|
def headers; end
|
|
2029
2176
|
|
|
2030
2177
|
# Replace request headers, preserving the existing hash type.
|
|
2031
2178
|
#
|
|
2032
2179
|
# @param hash [Hash] new headers
|
|
2033
2180
|
#
|
|
2034
|
-
# source://faraday//lib/faraday/request.rb#
|
|
2181
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2035
2182
|
def headers=(hash); end
|
|
2036
2183
|
|
|
2037
2184
|
# @return [Symbol] the HTTP method of the Request
|
|
2185
|
+
#
|
|
2186
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2038
2187
|
def http_method; end
|
|
2039
2188
|
|
|
2040
2189
|
# @return [Symbol] the HTTP method of the Request
|
|
2190
|
+
#
|
|
2191
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2041
2192
|
def http_method=(_); end
|
|
2042
2193
|
|
|
2043
2194
|
# Marshal serialization support.
|
|
@@ -2056,25 +2207,35 @@ class Faraday::Request < ::Struct
|
|
|
2056
2207
|
def marshal_load(serialised); end
|
|
2057
2208
|
|
|
2058
2209
|
# @return [RequestOptions] options
|
|
2210
|
+
#
|
|
2211
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2059
2212
|
def options; end
|
|
2060
2213
|
|
|
2061
2214
|
# @return [RequestOptions] options
|
|
2215
|
+
#
|
|
2216
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2062
2217
|
def options=(_); end
|
|
2063
2218
|
|
|
2064
2219
|
# @return [Hash] query parameters
|
|
2220
|
+
#
|
|
2221
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2065
2222
|
def params; end
|
|
2066
2223
|
|
|
2067
2224
|
# Replace params, preserving the existing hash type.
|
|
2068
2225
|
#
|
|
2069
2226
|
# @param hash [Hash] new params
|
|
2070
2227
|
#
|
|
2071
|
-
# source://faraday//lib/faraday/request.rb#
|
|
2228
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2072
2229
|
def params=(hash); end
|
|
2073
2230
|
|
|
2074
2231
|
# @return [URI, String] the path
|
|
2232
|
+
#
|
|
2233
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2075
2234
|
def path; end
|
|
2076
2235
|
|
|
2077
2236
|
# @return [URI, String] the path
|
|
2237
|
+
#
|
|
2238
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2078
2239
|
def path=(_); end
|
|
2079
2240
|
|
|
2080
2241
|
# @return [Env] the Env for this Request
|
|
@@ -2084,8 +2245,8 @@ class Faraday::Request < ::Struct
|
|
|
2084
2245
|
|
|
2085
2246
|
# Update path and params.
|
|
2086
2247
|
#
|
|
2087
|
-
# @param path [URI, String]
|
|
2088
2248
|
# @param params [Hash, nil]
|
|
2249
|
+
# @param path [URI, String]
|
|
2089
2250
|
# @return [void]
|
|
2090
2251
|
#
|
|
2091
2252
|
# source://faraday//lib/faraday/request.rb#74
|
|
@@ -2093,10 +2254,14 @@ class Faraday::Request < ::Struct
|
|
|
2093
2254
|
|
|
2094
2255
|
private
|
|
2095
2256
|
|
|
2257
|
+
# source://faraday//lib/faraday/request.rb#30
|
|
2096
2258
|
def member_get(_arg0); end
|
|
2259
|
+
|
|
2260
|
+
# source://faraday//lib/faraday/request.rb#32
|
|
2097
2261
|
def member_set(_arg0, _arg1); end
|
|
2098
2262
|
|
|
2099
2263
|
class << self
|
|
2264
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2100
2265
|
def [](*_arg0); end
|
|
2101
2266
|
|
|
2102
2267
|
# @param request_method [String]
|
|
@@ -2107,9 +2272,16 @@ class Faraday::Request < ::Struct
|
|
|
2107
2272
|
# source://faraday//lib/faraday/request.rb#39
|
|
2108
2273
|
def create(request_method); end
|
|
2109
2274
|
|
|
2275
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2110
2276
|
def inspect; end
|
|
2277
|
+
|
|
2278
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2111
2279
|
def keyword_init?; end
|
|
2280
|
+
|
|
2281
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2112
2282
|
def members; end
|
|
2283
|
+
|
|
2284
|
+
# source://faraday//lib/faraday/request.rb#27
|
|
2113
2285
|
def new(*_arg0); end
|
|
2114
2286
|
end
|
|
2115
2287
|
end
|
|
@@ -2119,12 +2291,12 @@ end
|
|
|
2119
2291
|
# source://faraday//lib/faraday/request/authorization.rb#6
|
|
2120
2292
|
class Faraday::Request::Authorization < ::Faraday::Middleware
|
|
2121
2293
|
# @param app [#call]
|
|
2122
|
-
# @param type [String, Symbol] Type of Authorization
|
|
2123
2294
|
# @param params [Array<String, Proc, #call>] parameters to build the Authorization header.
|
|
2124
2295
|
# If the type is `:basic`, then these can be a login and password pair.
|
|
2125
2296
|
# Otherwise, a single value is expected that will be appended after the type.
|
|
2126
2297
|
# This value can be a proc or an object responding to `.call`, in which case
|
|
2127
2298
|
# it will be invoked on each request.
|
|
2299
|
+
# @param type [String, Symbol] Type of Authorization
|
|
2128
2300
|
# @return [Authorization] a new instance of Authorization
|
|
2129
2301
|
#
|
|
2130
2302
|
# source://faraday//lib/faraday/request/authorization.rb#16
|
|
@@ -2137,9 +2309,9 @@ class Faraday::Request::Authorization < ::Faraday::Middleware
|
|
|
2137
2309
|
|
|
2138
2310
|
private
|
|
2139
2311
|
|
|
2140
|
-
# @param type [String, Symbol]
|
|
2141
2312
|
# @param env [Faraday::Env]
|
|
2142
2313
|
# @param params [Array]
|
|
2314
|
+
# @param type [String, Symbol]
|
|
2143
2315
|
# @return [String] a header value
|
|
2144
2316
|
#
|
|
2145
2317
|
# source://faraday//lib/faraday/request/authorization.rb#35
|
|
@@ -2186,21 +2358,32 @@ end
|
|
|
2186
2358
|
#
|
|
2187
2359
|
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2188
2360
|
class Faraday::Request::Instrumentation::Options < ::Faraday::Options
|
|
2189
|
-
# source://faraday//lib/faraday/request/instrumentation.rb#
|
|
2361
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2190
2362
|
def instrumenter; end
|
|
2191
2363
|
|
|
2364
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2192
2365
|
def instrumenter=(_); end
|
|
2193
2366
|
|
|
2194
|
-
# source://faraday//lib/faraday/request/instrumentation.rb#
|
|
2367
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2195
2368
|
def name; end
|
|
2196
2369
|
|
|
2370
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2197
2371
|
def name=(_); end
|
|
2198
2372
|
|
|
2199
2373
|
class << self
|
|
2374
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2200
2375
|
def [](*_arg0); end
|
|
2376
|
+
|
|
2377
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2201
2378
|
def inspect; end
|
|
2379
|
+
|
|
2380
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2202
2381
|
def keyword_init?; end
|
|
2382
|
+
|
|
2383
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2203
2384
|
def members; end
|
|
2385
|
+
|
|
2386
|
+
# source://faraday//lib/faraday/request/instrumentation.rb#8
|
|
2204
2387
|
def new(*_arg0); end
|
|
2205
2388
|
end
|
|
2206
2389
|
end
|
|
@@ -2304,38 +2487,89 @@ class Faraday::RequestOptions < ::Faraday::Options
|
|
|
2304
2487
|
# source://faraday//lib/faraday/options/request_options.rb#11
|
|
2305
2488
|
def []=(key, value); end
|
|
2306
2489
|
|
|
2490
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2307
2491
|
def bind; end
|
|
2492
|
+
|
|
2493
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2308
2494
|
def bind=(_); end
|
|
2495
|
+
|
|
2496
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2309
2497
|
def boundary; end
|
|
2498
|
+
|
|
2499
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2310
2500
|
def boundary=(_); end
|
|
2501
|
+
|
|
2502
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2311
2503
|
def context; end
|
|
2504
|
+
|
|
2505
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2312
2506
|
def context=(_); end
|
|
2507
|
+
|
|
2508
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2313
2509
|
def oauth; end
|
|
2510
|
+
|
|
2511
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2314
2512
|
def oauth=(_); end
|
|
2513
|
+
|
|
2514
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2315
2515
|
def on_data; end
|
|
2516
|
+
|
|
2517
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2316
2518
|
def on_data=(_); end
|
|
2519
|
+
|
|
2520
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2317
2521
|
def open_timeout; end
|
|
2522
|
+
|
|
2523
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2318
2524
|
def open_timeout=(_); end
|
|
2525
|
+
|
|
2526
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2319
2527
|
def params_encoder; end
|
|
2528
|
+
|
|
2529
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2320
2530
|
def params_encoder=(_); end
|
|
2531
|
+
|
|
2532
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2321
2533
|
def proxy; end
|
|
2534
|
+
|
|
2535
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2322
2536
|
def proxy=(_); end
|
|
2537
|
+
|
|
2538
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2323
2539
|
def read_timeout; end
|
|
2540
|
+
|
|
2541
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2324
2542
|
def read_timeout=(_); end
|
|
2325
2543
|
|
|
2326
2544
|
# source://faraday//lib/faraday/options/request_options.rb#19
|
|
2327
2545
|
def stream_response?; end
|
|
2328
2546
|
|
|
2547
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2329
2548
|
def timeout; end
|
|
2549
|
+
|
|
2550
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2330
2551
|
def timeout=(_); end
|
|
2552
|
+
|
|
2553
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2331
2554
|
def write_timeout; end
|
|
2555
|
+
|
|
2556
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2332
2557
|
def write_timeout=(_); end
|
|
2333
2558
|
|
|
2334
2559
|
class << self
|
|
2560
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2335
2561
|
def [](*_arg0); end
|
|
2562
|
+
|
|
2563
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2336
2564
|
def inspect; end
|
|
2565
|
+
|
|
2566
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2337
2567
|
def keyword_init?; end
|
|
2568
|
+
|
|
2569
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2338
2570
|
def members; end
|
|
2571
|
+
|
|
2572
|
+
# source://faraday//lib/faraday/options/request_options.rb#7
|
|
2339
2573
|
def new(*_arg0); end
|
|
2340
2574
|
end
|
|
2341
2575
|
end
|
|
@@ -2362,7 +2596,7 @@ class Faraday::Response
|
|
|
2362
2596
|
# source://faraday//lib/faraday/response.rb#11
|
|
2363
2597
|
def initialize(env = T.unsafe(nil)); end
|
|
2364
2598
|
|
|
2365
|
-
# source://
|
|
2599
|
+
# source://faraday//lib/faraday/response.rb#30
|
|
2366
2600
|
def [](*args, **_arg1, &block); end
|
|
2367
2601
|
|
|
2368
2602
|
# Expand the env with more properties, without overriding existing ones.
|
|
@@ -2527,117 +2761,190 @@ class Faraday::SSLError < ::Faraday::Error; end
|
|
|
2527
2761
|
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2528
2762
|
class Faraday::SSLOptions < ::Faraday::Options
|
|
2529
2763
|
# @return [String] CA file
|
|
2764
|
+
#
|
|
2765
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2530
2766
|
def ca_file; end
|
|
2531
2767
|
|
|
2532
2768
|
# @return [String] CA file
|
|
2769
|
+
#
|
|
2770
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2533
2771
|
def ca_file=(_); end
|
|
2534
2772
|
|
|
2535
2773
|
# @return [String] CA path
|
|
2774
|
+
#
|
|
2775
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2536
2776
|
def ca_path; end
|
|
2537
2777
|
|
|
2538
2778
|
# @return [String] CA path
|
|
2779
|
+
#
|
|
2780
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2539
2781
|
def ca_path=(_); end
|
|
2540
2782
|
|
|
2541
2783
|
# @return [OpenSSL::X509::Store] certificate store
|
|
2784
|
+
#
|
|
2785
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2542
2786
|
def cert_store; end
|
|
2543
2787
|
|
|
2544
2788
|
# @return [OpenSSL::X509::Store] certificate store
|
|
2789
|
+
#
|
|
2790
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2545
2791
|
def cert_store=(_); end
|
|
2546
2792
|
|
|
2547
2793
|
# @return [OpenSSL::X509::Certificate] certificate (Excon only)
|
|
2794
|
+
#
|
|
2795
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2548
2796
|
def certificate; end
|
|
2549
2797
|
|
|
2550
2798
|
# @return [OpenSSL::X509::Certificate] certificate (Excon only)
|
|
2799
|
+
#
|
|
2800
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2551
2801
|
def certificate=(_); end
|
|
2552
2802
|
|
|
2553
2803
|
# @return [String] cipher list in OpenSSL format (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D)
|
|
2804
|
+
#
|
|
2805
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2554
2806
|
def ciphers; end
|
|
2555
2807
|
|
|
2556
2808
|
# @return [String] cipher list in OpenSSL format (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D)
|
|
2809
|
+
#
|
|
2810
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2557
2811
|
def ciphers=(_); end
|
|
2558
2812
|
|
|
2559
2813
|
# @return [String, OpenSSL::X509::Certificate] client certificate
|
|
2814
|
+
#
|
|
2815
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2560
2816
|
def client_cert; end
|
|
2561
2817
|
|
|
2562
2818
|
# @return [String, OpenSSL::X509::Certificate] client certificate
|
|
2819
|
+
#
|
|
2820
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2563
2821
|
def client_cert=(_); end
|
|
2564
2822
|
|
|
2565
2823
|
# @return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key
|
|
2824
|
+
#
|
|
2825
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2566
2826
|
def client_key; end
|
|
2567
2827
|
|
|
2568
2828
|
# @return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key
|
|
2829
|
+
#
|
|
2830
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2569
2831
|
def client_key=(_); end
|
|
2570
2832
|
|
|
2571
2833
|
# source://faraday//lib/faraday/options/ssl_options.rb#67
|
|
2572
2834
|
def disable?; end
|
|
2573
2835
|
|
|
2574
2836
|
# @return [String] Server hostname used for SNI (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLSocket.html#method-i-hostname-3D)
|
|
2837
|
+
#
|
|
2838
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2575
2839
|
def hostname; end
|
|
2576
2840
|
|
|
2577
2841
|
# @return [String] Server hostname used for SNI (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLSocket.html#method-i-hostname-3D)
|
|
2842
|
+
#
|
|
2843
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2578
2844
|
def hostname=(_); end
|
|
2579
2845
|
|
|
2580
2846
|
# @return [String, Symbol] maximum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D)
|
|
2847
|
+
#
|
|
2848
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2581
2849
|
def max_version; end
|
|
2582
2850
|
|
|
2583
2851
|
# @return [String, Symbol] maximum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D)
|
|
2852
|
+
#
|
|
2853
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2584
2854
|
def max_version=(_); end
|
|
2585
2855
|
|
|
2586
2856
|
# @return [String, Symbol] minimum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D)
|
|
2857
|
+
#
|
|
2858
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2587
2859
|
def min_version; end
|
|
2588
2860
|
|
|
2589
2861
|
# @return [String, Symbol] minimum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D)
|
|
2862
|
+
#
|
|
2863
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2590
2864
|
def min_version=(_); end
|
|
2591
2865
|
|
|
2592
2866
|
# @return [OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] private key (Excon only)
|
|
2867
|
+
#
|
|
2868
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2593
2869
|
def private_key; end
|
|
2594
2870
|
|
|
2595
2871
|
# @return [OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] private key (Excon only)
|
|
2872
|
+
#
|
|
2873
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2596
2874
|
def private_key=(_); end
|
|
2597
2875
|
|
|
2598
2876
|
# @return [Boolean] whether to verify SSL certificates or not
|
|
2877
|
+
#
|
|
2878
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2599
2879
|
def verify; end
|
|
2600
2880
|
|
|
2601
2881
|
# @return [Boolean] whether to verify SSL certificates or not
|
|
2882
|
+
#
|
|
2883
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2602
2884
|
def verify=(_); end
|
|
2603
2885
|
|
|
2604
2886
|
# source://faraday//lib/faraday/options/ssl_options.rb#62
|
|
2605
2887
|
def verify?; end
|
|
2606
2888
|
|
|
2607
2889
|
# @return [Integer] maximum depth for the certificate chain verification
|
|
2890
|
+
#
|
|
2891
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2608
2892
|
def verify_depth; end
|
|
2609
2893
|
|
|
2610
2894
|
# @return [Integer] maximum depth for the certificate chain verification
|
|
2895
|
+
#
|
|
2896
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2611
2897
|
def verify_depth=(_); end
|
|
2612
2898
|
|
|
2613
2899
|
# @return [Boolean] whether to enable hostname verification on server certificates
|
|
2614
2900
|
# during the handshake or not (see https://github.com/ruby/openssl/pull/60)
|
|
2901
|
+
#
|
|
2902
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2615
2903
|
def verify_hostname; end
|
|
2616
2904
|
|
|
2617
2905
|
# @return [Boolean] whether to enable hostname verification on server certificates
|
|
2618
2906
|
# during the handshake or not (see https://github.com/ruby/openssl/pull/60)
|
|
2907
|
+
#
|
|
2908
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2619
2909
|
def verify_hostname=(_); end
|
|
2620
2910
|
|
|
2621
2911
|
# source://faraday//lib/faraday/options/ssl_options.rb#72
|
|
2622
2912
|
def verify_hostname?; end
|
|
2623
2913
|
|
|
2624
2914
|
# @return [Integer] Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html)
|
|
2915
|
+
#
|
|
2916
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2625
2917
|
def verify_mode; end
|
|
2626
2918
|
|
|
2627
2919
|
# @return [Integer] Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html)
|
|
2920
|
+
#
|
|
2921
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2628
2922
|
def verify_mode=(_); end
|
|
2629
2923
|
|
|
2630
2924
|
# @return [String, Symbol] SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D)
|
|
2925
|
+
#
|
|
2926
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2631
2927
|
def version; end
|
|
2632
2928
|
|
|
2633
2929
|
# @return [String, Symbol] SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D)
|
|
2930
|
+
#
|
|
2931
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2634
2932
|
def version=(_); end
|
|
2635
2933
|
|
|
2636
2934
|
class << self
|
|
2935
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2637
2936
|
def [](*_arg0); end
|
|
2937
|
+
|
|
2938
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2638
2939
|
def inspect; end
|
|
2940
|
+
|
|
2941
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2639
2942
|
def keyword_init?; end
|
|
2943
|
+
|
|
2944
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2640
2945
|
def members; end
|
|
2946
|
+
|
|
2947
|
+
# source://faraday//lib/faraday/options/ssl_options.rb#56
|
|
2641
2948
|
def new(*_arg0); end
|
|
2642
2949
|
end
|
|
2643
2950
|
end
|
|
@@ -2861,7 +3168,7 @@ class Faraday::Utils::Headers < ::Hash
|
|
|
2861
3168
|
|
|
2862
3169
|
# @return [Boolean]
|
|
2863
3170
|
#
|
|
2864
|
-
# source://faraday//lib/faraday/utils/headers.rb#
|
|
3171
|
+
# source://faraday//lib/faraday/utils/headers.rb#90
|
|
2865
3172
|
def has_key?(key); end
|
|
2866
3173
|
|
|
2867
3174
|
# @return [Boolean]
|
|
@@ -2874,12 +3181,12 @@ class Faraday::Utils::Headers < ::Hash
|
|
|
2874
3181
|
|
|
2875
3182
|
# @return [Boolean]
|
|
2876
3183
|
#
|
|
2877
|
-
# source://faraday//lib/faraday/utils/headers.rb#
|
|
3184
|
+
# source://faraday//lib/faraday/utils/headers.rb#92
|
|
2878
3185
|
def key?(key); end
|
|
2879
3186
|
|
|
2880
3187
|
# @return [Boolean]
|
|
2881
3188
|
#
|
|
2882
|
-
# source://faraday//lib/faraday/utils/headers.rb#
|
|
3189
|
+
# source://faraday//lib/faraday/utils/headers.rb#91
|
|
2883
3190
|
def member?(key); end
|
|
2884
3191
|
|
|
2885
3192
|
# source://faraday//lib/faraday/utils/headers.rb#101
|
|
@@ -2897,7 +3204,7 @@ class Faraday::Utils::Headers < ::Hash
|
|
|
2897
3204
|
# source://faraday//lib/faraday/utils/headers.rb#113
|
|
2898
3205
|
def to_hash; end
|
|
2899
3206
|
|
|
2900
|
-
# source://faraday//lib/faraday/utils/headers.rb#
|
|
3207
|
+
# source://faraday//lib/faraday/utils/headers.rb#99
|
|
2901
3208
|
def update(other); end
|
|
2902
3209
|
|
|
2903
3210
|
protected
|
|
@@ -2948,7 +3255,7 @@ class Faraday::Utils::ParamsHash < ::Hash
|
|
|
2948
3255
|
|
|
2949
3256
|
# @return [Boolean]
|
|
2950
3257
|
#
|
|
2951
|
-
# source://faraday//lib/faraday/utils/params_hash.rb#
|
|
3258
|
+
# source://faraday//lib/faraday/utils/params_hash.rb#23
|
|
2952
3259
|
def has_key?(key); end
|
|
2953
3260
|
|
|
2954
3261
|
# @return [Boolean]
|
|
@@ -2958,18 +3265,18 @@ class Faraday::Utils::ParamsHash < ::Hash
|
|
|
2958
3265
|
|
|
2959
3266
|
# @return [Boolean]
|
|
2960
3267
|
#
|
|
2961
|
-
# source://faraday//lib/faraday/utils/params_hash.rb#
|
|
3268
|
+
# source://faraday//lib/faraday/utils/params_hash.rb#25
|
|
2962
3269
|
def key?(key); end
|
|
2963
3270
|
|
|
2964
3271
|
# @return [Boolean]
|
|
2965
3272
|
#
|
|
2966
|
-
# source://faraday//lib/faraday/utils/params_hash.rb#
|
|
3273
|
+
# source://faraday//lib/faraday/utils/params_hash.rb#24
|
|
2967
3274
|
def member?(key); end
|
|
2968
3275
|
|
|
2969
3276
|
# source://faraday//lib/faraday/utils/params_hash.rb#35
|
|
2970
3277
|
def merge(params); end
|
|
2971
3278
|
|
|
2972
|
-
# source://faraday//lib/faraday/utils/params_hash.rb#
|
|
3279
|
+
# source://faraday//lib/faraday/utils/params_hash.rb#33
|
|
2973
3280
|
def merge!(params); end
|
|
2974
3281
|
|
|
2975
3282
|
# source://faraday//lib/faraday/utils/params_hash.rb#44
|