bungie_sdk 0.1.1

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.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +147 -0
  5. data/.solargraph.yml +23 -0
  6. data/.travis.yml +6 -0
  7. data/.vim/coc-settings.json +12 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +19 -0
  10. data/Gemfile.lock +133 -0
  11. data/LICENSE.txt +21 -0
  12. data/README.md +56 -0
  13. data/Rakefile +6 -0
  14. data/bin/console +15 -0
  15. data/bin/setup +8 -0
  16. data/bin/tapioca +29 -0
  17. data/bungie_sdk.gemspec +35 -0
  18. data/lib/bungie_sdk/agent.rb +166 -0
  19. data/lib/bungie_sdk/character.rb +82 -0
  20. data/lib/bungie_sdk/client.rb +72 -0
  21. data/lib/bungie_sdk/item.rb +83 -0
  22. data/lib/bungie_sdk/membership.rb +30 -0
  23. data/lib/bungie_sdk/profile.rb +36 -0
  24. data/lib/bungie_sdk/token_manager.rb +136 -0
  25. data/lib/bungie_sdk/vendor.rb +64 -0
  26. data/lib/bungie_sdk/version.rb +4 -0
  27. data/lib/bungie_sdk.rb +104 -0
  28. data/sorbet/config +3 -0
  29. data/sorbet/rbi/gems/addressable.rbi +151 -0
  30. data/sorbet/rbi/gems/addressable@2.8.0.rbi +224 -0
  31. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  32. data/sorbet/rbi/gems/bungie_sdk.rbi +15 -0
  33. data/sorbet/rbi/gems/coderay.rbi +285 -0
  34. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  35. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +185 -0
  36. data/sorbet/rbi/gems/dotenv.rbi +68 -0
  37. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +88 -0
  38. data/sorbet/rbi/gems/ethon.rbi +716 -0
  39. data/sorbet/rbi/gems/ethon@0.15.0.rbi +883 -0
  40. data/sorbet/rbi/gems/faraday-net_http.rbi +33 -0
  41. data/sorbet/rbi/gems/faraday-net_http@2.0.1.rbi +78 -0
  42. data/sorbet/rbi/gems/faraday.rbi +696 -0
  43. data/sorbet/rbi/gems/faraday@2.2.0.rbi +685 -0
  44. data/sorbet/rbi/gems/ffi.rbi +560 -0
  45. data/sorbet/rbi/gems/ffi@1.15.5.rbi +849 -0
  46. data/sorbet/rbi/gems/gem-release.rbi +582 -0
  47. data/sorbet/rbi/gems/gem-release@2.2.2.rbi +644 -0
  48. data/sorbet/rbi/gems/hashie.rbi +160 -0
  49. data/sorbet/rbi/gems/jwt.rbi +274 -0
  50. data/sorbet/rbi/gems/jwt@2.3.0.rbi +437 -0
  51. data/sorbet/rbi/gems/launchy.rbi +226 -0
  52. data/sorbet/rbi/gems/launchy@2.5.0.rbi +327 -0
  53. data/sorbet/rbi/gems/method_source.rbi +64 -0
  54. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  55. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  56. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +96 -0
  57. data/sorbet/rbi/gems/multi_xml.rbi +35 -0
  58. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +36 -0
  59. data/sorbet/rbi/gems/oauth2.rbi +143 -0
  60. data/sorbet/rbi/gems/oauth2@1.4.9.rbi +181 -0
  61. data/sorbet/rbi/gems/parallel@1.22.1.rbi +8 -0
  62. data/sorbet/rbi/gems/parser@3.1.1.0.rbi +1196 -0
  63. data/sorbet/rbi/gems/pry.rbi +1898 -0
  64. data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
  65. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  66. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +145 -0
  67. data/sorbet/rbi/gems/rack.rbi +21 -0
  68. data/sorbet/rbi/gems/rack@2.2.3.rbi +1622 -0
  69. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +8 -0
  70. data/sorbet/rbi/gems/rake.rbi +644 -0
  71. data/sorbet/rbi/gems/rake@12.3.3.rbi +804 -0
  72. data/sorbet/rbi/gems/rbi@0.0.14.rbi +2073 -0
  73. data/sorbet/rbi/gems/regexp_parser@2.3.0.rbi +8 -0
  74. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  75. data/sorbet/rbi/gems/rspec-core.rbi +1898 -0
  76. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +2468 -0
  77. data/sorbet/rbi/gems/rspec-expectations.rbi +1171 -0
  78. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +1634 -0
  79. data/sorbet/rbi/gems/rspec-mocks.rbi +1094 -0
  80. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +1497 -0
  81. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  82. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +511 -0
  83. data/sorbet/rbi/gems/rspec.rbi +15 -0
  84. data/sorbet/rbi/gems/rspec@3.11.0.rbi +40 -0
  85. data/sorbet/rbi/gems/rubocop-ast@1.17.0.rbi +8 -0
  86. data/sorbet/rbi/gems/rubocop-sorbet@0.6.7.rbi +8 -0
  87. data/sorbet/rbi/gems/rubocop@1.27.0.rbi +8 -0
  88. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +8 -0
  89. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  90. data/sorbet/rbi/gems/spoom@1.1.11.rbi +1445 -0
  91. data/sorbet/rbi/gems/tapioca@0.7.1.rbi +1677 -0
  92. data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
  93. data/sorbet/rbi/gems/typhoeus.rbi +301 -0
  94. data/sorbet/rbi/gems/typhoeus@1.4.0.rbi +450 -0
  95. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +8 -0
  96. data/sorbet/rbi/gems/unparser@0.6.4.rbi +8 -0
  97. data/sorbet/rbi/gems/webrick@1.7.0.rbi +601 -0
  98. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +235 -0
  99. data/sorbet/rbi/gems/yard@0.9.27.rbi +3966 -0
  100. data/sorbet/rbi/hidden-definitions/errors.txt +4013 -0
  101. data/sorbet/rbi/hidden-definitions/hidden.rbi +8945 -0
  102. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +82 -0
  103. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  104. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
  105. data/sorbet/rbi/todo.rbi +8 -0
  106. data/sorbet/tapioca/config.yml +13 -0
  107. data/sorbet/tapioca/require.rb +4 -0
  108. metadata +236 -0
@@ -0,0 +1,883 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `ethon` gem.
5
+ # Please instead update this file by running `bin/tapioca gem ethon`.
6
+
7
+ module Ethon
8
+ extend ::Ethon::Loggable
9
+ end
10
+
11
+ module Ethon::Curl
12
+ extend ::FFI::Library
13
+ extend ::Ethon::Curls::Codes
14
+ extend ::Ethon::Curls::Options
15
+ extend ::Ethon::Curls::Infos
16
+ extend ::Ethon::Curls::FormOptions
17
+ extend ::Ethon::Curls::Messages
18
+ extend ::Ethon::Curls::Functions
19
+
20
+ def easy_cleanup(*_arg0); end
21
+ def easy_duphandle(*_arg0); end
22
+ def easy_escape(*_arg0); end
23
+ def easy_getinfo(*args); end
24
+ def easy_init(*_arg0); end
25
+ def easy_perform(*_arg0); end
26
+ def easy_reset(*_arg0); end
27
+ def easy_setopt(*args); end
28
+ def easy_strerror(*_arg0); end
29
+ def formadd(*args); end
30
+ def formfree(*_arg0); end
31
+ def free(*_arg0); end
32
+ def global_cleanup(*_arg0); end
33
+ def global_init(*_arg0); end
34
+ def multi_add_handle(*_arg0); end
35
+ def multi_cleanup(*_arg0); end
36
+ def multi_fdset(*_arg0); end
37
+ def multi_info_read(*_arg0); end
38
+ def multi_init(*_arg0); end
39
+ def multi_perform(*_arg0); end
40
+ def multi_remove_handle(*_arg0); end
41
+ def multi_setopt(*args); end
42
+ def multi_socket_action(*_arg0); end
43
+ def multi_strerror(*_arg0); end
44
+ def multi_timeout(*_arg0); end
45
+ def select(*_arg0); end
46
+ def slist_append(*_arg0); end
47
+ def slist_free_all(*_arg0); end
48
+ def version(*_arg0); end
49
+ def version_info(*_arg0); end
50
+
51
+ class << self
52
+ def cleanup; end
53
+ def easy_cleanup(*_arg0); end
54
+ def easy_duphandle(*_arg0); end
55
+ def easy_escape(*_arg0); end
56
+ def easy_getinfo(*args); end
57
+ def easy_init(*_arg0); end
58
+ def easy_perform(*_arg0); end
59
+ def easy_reset(*_arg0); end
60
+ def easy_setopt(*args); end
61
+ def easy_strerror(*_arg0); end
62
+ def formadd(*args); end
63
+ def formfree(*_arg0); end
64
+ def free(*_arg0); end
65
+ def global_cleanup(*_arg0); end
66
+ def global_init(*_arg0); end
67
+ def init; end
68
+ def multi_add_handle(*_arg0); end
69
+ def multi_cleanup(*_arg0); end
70
+ def multi_fdset(*_arg0); end
71
+ def multi_info_read(*_arg0); end
72
+ def multi_init(*_arg0); end
73
+ def multi_perform(*_arg0); end
74
+ def multi_remove_handle(*_arg0); end
75
+ def multi_setopt(*args); end
76
+ def multi_socket_action(*_arg0); end
77
+ def multi_strerror(*_arg0); end
78
+ def multi_timeout(*_arg0); end
79
+ def select(*_arg0); end
80
+ def slist_append(*_arg0); end
81
+ def slist_free_all(*_arg0); end
82
+ def version(*_arg0); end
83
+ def version_info(*_arg0); end
84
+ def windows?; end
85
+ end
86
+ end
87
+
88
+ Ethon::Curl::DebugInfoType = T.let(T.unsafe(nil), FFI::Enum)
89
+ Ethon::Curl::EasyCode = T.let(T.unsafe(nil), FFI::Enum)
90
+ Ethon::Curl::EasyOption = T.let(T.unsafe(nil), FFI::Enum)
91
+
92
+ class Ethon::Curl::FDSet < ::FFI::Struct
93
+ def clear; end
94
+ end
95
+
96
+ Ethon::Curl::FDSet::FD_SETSIZE = T.let(T.unsafe(nil), Integer)
97
+ Ethon::Curl::FormOption = T.let(T.unsafe(nil), FFI::Enum)
98
+ Ethon::Curl::GLOBAL_ALL = T.let(T.unsafe(nil), Integer)
99
+ Ethon::Curl::GLOBAL_DEFAULT = T.let(T.unsafe(nil), Integer)
100
+ Ethon::Curl::GLOBAL_SSL = T.let(T.unsafe(nil), Integer)
101
+ Ethon::Curl::GLOBAL_WIN32 = T.let(T.unsafe(nil), Integer)
102
+ Ethon::Curl::Info = T.let(T.unsafe(nil), FFI::Enum)
103
+ Ethon::Curl::InfoType = T.let(T.unsafe(nil), FFI::Enum)
104
+ class Ethon::Curl::Msg < ::FFI::Struct; end
105
+ Ethon::Curl::MsgCode = T.let(T.unsafe(nil), FFI::Enum)
106
+ class Ethon::Curl::MsgData < ::FFI::Union; end
107
+ Ethon::Curl::MultiCode = T.let(T.unsafe(nil), FFI::Enum)
108
+ Ethon::Curl::MultiOption = T.let(T.unsafe(nil), FFI::Enum)
109
+ Ethon::Curl::PollAction = T.let(T.unsafe(nil), FFI::Enum)
110
+ Ethon::Curl::SOCKET_BAD = T.let(T.unsafe(nil), Integer)
111
+ Ethon::Curl::SOCKET_TIMEOUT = T.let(T.unsafe(nil), Integer)
112
+ Ethon::Curl::SocketReadiness = T.let(T.unsafe(nil), FFI::Bitmask)
113
+ class Ethon::Curl::Timeval < ::FFI::Struct; end
114
+ Ethon::Curl::VERSION_ASYNCHDNS = T.let(T.unsafe(nil), Integer)
115
+ Ethon::Curl::VERSION_CONV = T.let(T.unsafe(nil), Integer)
116
+ Ethon::Curl::VERSION_CURLDEBUG = T.let(T.unsafe(nil), Integer)
117
+ Ethon::Curl::VERSION_DEBUG = T.let(T.unsafe(nil), Integer)
118
+ Ethon::Curl::VERSION_GSSAPI = T.let(T.unsafe(nil), Integer)
119
+ Ethon::Curl::VERSION_GSSNEGOTIATE = T.let(T.unsafe(nil), Integer)
120
+ Ethon::Curl::VERSION_HTTP2 = T.let(T.unsafe(nil), Integer)
121
+ Ethon::Curl::VERSION_IDN = T.let(T.unsafe(nil), Integer)
122
+ Ethon::Curl::VERSION_IPV6 = T.let(T.unsafe(nil), Integer)
123
+ Ethon::Curl::VERSION_KERBEROS4 = T.let(T.unsafe(nil), Integer)
124
+ Ethon::Curl::VERSION_LARGEFILE = T.let(T.unsafe(nil), Integer)
125
+ Ethon::Curl::VERSION_LIBZ = T.let(T.unsafe(nil), Integer)
126
+ Ethon::Curl::VERSION_NOW = T.let(T.unsafe(nil), Integer)
127
+ Ethon::Curl::VERSION_NTLM = T.let(T.unsafe(nil), Integer)
128
+ Ethon::Curl::VERSION_NTLM_WB = T.let(T.unsafe(nil), Integer)
129
+ Ethon::Curl::VERSION_SPNEGO = T.let(T.unsafe(nil), Integer)
130
+ Ethon::Curl::VERSION_SSL = T.let(T.unsafe(nil), Integer)
131
+ Ethon::Curl::VERSION_SSPI = T.let(T.unsafe(nil), Integer)
132
+ Ethon::Curl::VERSION_TLSAUTH_SRP = T.let(T.unsafe(nil), Integer)
133
+ class Ethon::Curl::VersionInfoData < ::FFI::Struct; end
134
+ module Ethon::Curls; end
135
+
136
+ module Ethon::Curls::Codes
137
+ def easy_codes; end
138
+ def multi_codes; end
139
+ end
140
+
141
+ module Ethon::Curls::FormOptions
142
+ def form_options; end
143
+ end
144
+
145
+ module Ethon::Curls::Functions
146
+ class << self
147
+ def extended(base); end
148
+ end
149
+ end
150
+
151
+ module Ethon::Curls::Infos
152
+ def debug_info_types; end
153
+ def get_info_double(option, handle); end
154
+ def get_info_long(option, handle); end
155
+ def get_info_string(option, handle); end
156
+ def info_types; end
157
+ def infos; end
158
+ end
159
+
160
+ module Ethon::Curls::Messages
161
+ def msg_codes; end
162
+ end
163
+
164
+ module Ethon::Curls::Options
165
+ def easy_options(rt); end
166
+ def multi_options(rt); end
167
+ def set_option(option, value, handle, type = T.unsafe(nil)); end
168
+
169
+ class << self
170
+ def option(ftype, name, type, num, opts = T.unsafe(nil)); end
171
+ def option_alias(ftype, name, *aliases); end
172
+ def option_type(type); end
173
+ end
174
+ end
175
+
176
+ Ethon::Curls::Options::EASY_OPTIONS = T.let(T.unsafe(nil), Hash)
177
+ Ethon::Curls::Options::FOPTION_STRINGS = T.let(T.unsafe(nil), Hash)
178
+ Ethon::Curls::Options::FUNCS = T.let(T.unsafe(nil), Hash)
179
+ Ethon::Curls::Options::MULTI_OPTIONS = T.let(T.unsafe(nil), Hash)
180
+ Ethon::Curls::Options::OPTION_STRINGS = T.let(T.unsafe(nil), Hash)
181
+ Ethon::Curls::Options::OPTION_TYPE_BASE = T.let(T.unsafe(nil), Hash)
182
+ Ethon::Curls::Options::OPTION_TYPE_MAP = T.let(T.unsafe(nil), Hash)
183
+
184
+ class Ethon::Easy
185
+ include ::Ethon::Easy::Informations
186
+ include ::Ethon::Easy::Callbacks
187
+ include ::Ethon::Easy::Options
188
+ include ::Ethon::Easy::Header
189
+ include ::Ethon::Easy::Http
190
+ include ::Ethon::Easy::Operations
191
+ include ::Ethon::Easy::ResponseCallbacks
192
+ extend ::Ethon::Easy::Features
193
+
194
+ def initialize(options = T.unsafe(nil)); end
195
+
196
+ def debug_info; end
197
+ def debug_info=(_arg0); end
198
+ def dup; end
199
+ def escape(value); end
200
+ def log_inspect; end
201
+ def mirror; end
202
+ def reset; end
203
+ def response_body; end
204
+ def response_body=(_arg0); end
205
+ def response_headers; end
206
+ def response_headers=(_arg0); end
207
+ def return_code; end
208
+ def return_code=(_arg0); end
209
+ def set_attributes(options); end
210
+ def to_hash; end
211
+ end
212
+
213
+ module Ethon::Easy::Callbacks
214
+ def body_write_callback; end
215
+ def debug_callback; end
216
+ def header_write_callback; end
217
+ def progress_callback; end
218
+ def read_callback; end
219
+ def set_callbacks; end
220
+ def set_progress_callback; end
221
+ def set_read_callback(body); end
222
+
223
+ class << self
224
+ def included(base); end
225
+ end
226
+ end
227
+
228
+ class Ethon::Easy::DebugInfo
229
+ def initialize; end
230
+
231
+ def add(type, message); end
232
+ def data_in; end
233
+ def data_out; end
234
+ def header_in; end
235
+ def header_out; end
236
+ def messages_for(type); end
237
+ def ssl_data_in; end
238
+ def ssl_data_out; end
239
+ def text; end
240
+ def to_a; end
241
+ def to_h; end
242
+ end
243
+
244
+ Ethon::Easy::DebugInfo::MESSAGE_TYPES = T.let(T.unsafe(nil), Array)
245
+
246
+ class Ethon::Easy::DebugInfo::Message
247
+ def initialize(type, message); end
248
+
249
+ def message; end
250
+ def type; end
251
+ end
252
+
253
+ module Ethon::Easy::Features
254
+ def supports_asynch_dns?; end
255
+ def supports_timeout_ms?; end
256
+ def supports_zlib?; end
257
+ end
258
+
259
+ class Ethon::Easy::Form
260
+ include ::Ethon::Easy::Util
261
+ include ::Ethon::Easy::Queryable
262
+
263
+ def initialize(easy, params, multipart = T.unsafe(nil)); end
264
+
265
+ def escape; end
266
+ def escape=(_arg0); end
267
+ def first; end
268
+ def last; end
269
+ def materialize; end
270
+ def multipart?; end
271
+ def params_encoding; end
272
+ def params_encoding=(_arg0); end
273
+
274
+ private
275
+
276
+ def form_add(name, content); end
277
+ def setup_garbage_collection; end
278
+ end
279
+
280
+ module Ethon::Easy::Header
281
+ def compose_header(key, value); end
282
+ def header_list; end
283
+ def headers; end
284
+ def headers=(headers); end
285
+ end
286
+
287
+ module Ethon::Easy::Http
288
+ def http_request(url, action_name, options = T.unsafe(nil)); end
289
+
290
+ private
291
+
292
+ def fabricate(url, action_name, options); end
293
+ end
294
+
295
+ module Ethon::Easy::Http::Actionable
296
+ def initialize(url, options); end
297
+
298
+ def form; end
299
+ def options; end
300
+ def params; end
301
+ def params_encoding; end
302
+ def query_options; end
303
+ def set_form(easy); end
304
+ def set_params(easy); end
305
+ def setup(easy); end
306
+ def url; end
307
+
308
+ private
309
+
310
+ def parse_options(options); end
311
+ end
312
+
313
+ Ethon::Easy::Http::Actionable::QUERY_OPTIONS = T.let(T.unsafe(nil), Array)
314
+
315
+ class Ethon::Easy::Http::Custom
316
+ include ::Ethon::Easy::Http::Actionable
317
+ include ::Ethon::Easy::Http::Postable
318
+
319
+ def initialize(verb, url, options); end
320
+
321
+ def setup(easy); end
322
+ end
323
+
324
+ class Ethon::Easy::Http::Delete
325
+ include ::Ethon::Easy::Http::Actionable
326
+ include ::Ethon::Easy::Http::Postable
327
+
328
+ def setup(easy); end
329
+ end
330
+
331
+ class Ethon::Easy::Http::Get
332
+ include ::Ethon::Easy::Http::Actionable
333
+ include ::Ethon::Easy::Http::Postable
334
+
335
+ def setup(easy); end
336
+ end
337
+
338
+ class Ethon::Easy::Http::Head
339
+ include ::Ethon::Easy::Http::Actionable
340
+ include ::Ethon::Easy::Http::Postable
341
+
342
+ def setup(easy); end
343
+ end
344
+
345
+ class Ethon::Easy::Http::Options
346
+ include ::Ethon::Easy::Http::Actionable
347
+ include ::Ethon::Easy::Http::Postable
348
+
349
+ def setup(easy); end
350
+ end
351
+
352
+ class Ethon::Easy::Http::Patch
353
+ include ::Ethon::Easy::Http::Actionable
354
+ include ::Ethon::Easy::Http::Postable
355
+
356
+ def setup(easy); end
357
+ end
358
+
359
+ class Ethon::Easy::Http::Post
360
+ include ::Ethon::Easy::Http::Actionable
361
+ include ::Ethon::Easy::Http::Postable
362
+
363
+ def setup(easy); end
364
+ end
365
+
366
+ module Ethon::Easy::Http::Postable
367
+ def set_form(easy); end
368
+ end
369
+
370
+ class Ethon::Easy::Http::Put
371
+ include ::Ethon::Easy::Http::Actionable
372
+ include ::Ethon::Easy::Http::Putable
373
+
374
+ def setup(easy); end
375
+ end
376
+
377
+ module Ethon::Easy::Http::Putable
378
+ def set_form(easy); end
379
+ end
380
+
381
+ module Ethon::Easy::Informations
382
+ def appconnect_time; end
383
+ def connect_time; end
384
+ def effective_url; end
385
+ def httpauth_avail; end
386
+ def namelookup_time; end
387
+ def pretransfer_time; end
388
+ def primary_ip; end
389
+ def redirect_count; end
390
+ def redirect_time; end
391
+ def request_size; end
392
+ def response_code; end
393
+ def size_download; end
394
+ def size_upload; end
395
+ def speed_download; end
396
+ def speed_upload; end
397
+ def starttransfer_time; end
398
+ def supports_zlib?; end
399
+ def total_time; end
400
+ end
401
+
402
+ Ethon::Easy::Informations::AVAILABLE_INFORMATIONS = T.let(T.unsafe(nil), Hash)
403
+
404
+ class Ethon::Easy::Mirror
405
+ def initialize(options = T.unsafe(nil)); end
406
+
407
+ def appconnect_time; end
408
+ def connect_time; end
409
+ def debug_info; end
410
+ def effective_url; end
411
+ def httpauth_avail; end
412
+ def log_informations; end
413
+ def namelookup_time; end
414
+ def options; end
415
+ def pretransfer_time; end
416
+ def primary_ip; end
417
+ def redirect_count; end
418
+ def redirect_time; end
419
+ def request_size; end
420
+ def response_body; end
421
+ def response_code; end
422
+ def response_headers; end
423
+ def return_code; end
424
+ def size_download; end
425
+ def size_upload; end
426
+ def speed_download; end
427
+ def speed_upload; end
428
+ def starttransfer_time; end
429
+ def to_hash; end
430
+ def total_time; end
431
+
432
+ class << self
433
+ def from_easy(easy); end
434
+ end
435
+ end
436
+
437
+ Ethon::Easy::Mirror::INFORMATIONS_TO_LOG = T.let(T.unsafe(nil), Array)
438
+ Ethon::Easy::Mirror::INFORMATIONS_TO_MIRROR = T.let(T.unsafe(nil), Array)
439
+
440
+ module Ethon::Easy::Operations
441
+ def cleanup; end
442
+ def handle; end
443
+ def handle=(h); end
444
+ def perform; end
445
+ def prepare; end
446
+ end
447
+
448
+ module Ethon::Easy::Options
449
+ def accept_encoding=(value); end
450
+ def accepttimeout_ms=(value); end
451
+ def address_scope=(value); end
452
+ def append=(value); end
453
+ def autoreferer=(value); end
454
+ def buffersize=(value); end
455
+ def cainfo=(value); end
456
+ def capath=(value); end
457
+ def certinfo=(value); end
458
+ def chunk_bgn_function(&block); end
459
+ def chunk_bgn_function=(value); end
460
+ def chunk_data=(value); end
461
+ def chunk_end_function(&block); end
462
+ def chunk_end_function=(value); end
463
+ def closesocketdata=(value); end
464
+ def closesocketfunction(&block); end
465
+ def closesocketfunction=(value); end
466
+ def connect_only=(value); end
467
+ def connecttimeout=(value); end
468
+ def connecttimeout_ms=(value); end
469
+ def conv_from_network_function(&block); end
470
+ def conv_from_network_function=(value); end
471
+ def conv_from_utf8_function(&block); end
472
+ def conv_from_utf8_function=(value); end
473
+ def conv_to_network_function(&block); end
474
+ def conv_to_network_function=(value); end
475
+ def cookie=(value); end
476
+ def cookiefile=(value); end
477
+ def cookiejar=(value); end
478
+ def cookielist=(value); end
479
+ def cookiesession=(value); end
480
+ def copypostfields=(value); end
481
+ def crlf=(value); end
482
+ def crlfile=(value); end
483
+ def customrequest=(value); end
484
+ def debugdata=(value); end
485
+ def debugfunction=(value); end
486
+ def dirlistonly=(value); end
487
+ def dns_cache_timeout=(value); end
488
+ def dns_interface=(value); end
489
+ def dns_local_ip4=(value); end
490
+ def dns_servers=(value); end
491
+ def dns_shuffle_addresses=(value); end
492
+ def dns_use_global_cache=(value); end
493
+ def egdsocket=(value); end
494
+ def encoding=(value); end
495
+ def errorbuffer=(value); end
496
+ def escape=(b); end
497
+ def escape?; end
498
+ def failonerror=(value); end
499
+ def file=(value); end
500
+ def filetime=(value); end
501
+ def fnmatch_data=(value); end
502
+ def fnmatch_function(&block); end
503
+ def fnmatch_function=(value); end
504
+ def followlocation=(value); end
505
+ def forbid_reuse=(value); end
506
+ def fresh_connect=(value); end
507
+ def ftp_account=(value); end
508
+ def ftp_alternative_to_user=(value); end
509
+ def ftp_create_missing_dirs=(value); end
510
+ def ftp_filemethod=(value); end
511
+ def ftp_response_timeout=(value); end
512
+ def ftp_skip_pasv_ip=(value); end
513
+ def ftp_ssl=(value); end
514
+ def ftp_ssl_ccc=(value); end
515
+ def ftp_use_eprt=(value); end
516
+ def ftp_use_epsv=(value); end
517
+ def ftp_use_pret=(value); end
518
+ def ftpappend=(value); end
519
+ def ftplistonly=(value); end
520
+ def ftpport=(value); end
521
+ def ftpsslauth=(value); end
522
+ def gssapi_delegation=(value); end
523
+ def header=(value); end
524
+ def headerdata=(value); end
525
+ def headerfunction(&block); end
526
+ def headerfunction=(value); end
527
+ def http200aliases=(value); end
528
+ def http_content_decoding=(value); end
529
+ def http_transfer_decoding=(value); end
530
+ def http_version=(value); end
531
+ def httpauth=(value); end
532
+ def httpget=(value); end
533
+ def httpheader=(value); end
534
+ def httppost=(value); end
535
+ def httpproxytunnel=(value); end
536
+ def ignore_content_length=(value); end
537
+ def infile=(value); end
538
+ def infilesize=(value); end
539
+ def infilesize_large=(value); end
540
+ def interface=(value); end
541
+ def interleavedata=(value); end
542
+ def interleavefunction(&block); end
543
+ def interleavefunction=(value); end
544
+ def ioctldata=(value); end
545
+ def ioctlfunction(&block); end
546
+ def ioctlfunction=(value); end
547
+ def ipresolve=(value); end
548
+ def issuercert=(value); end
549
+ def keypasswd=(value); end
550
+ def khstat=(value); end
551
+ def krb4level=(value); end
552
+ def krblevel=(value); end
553
+ def localport=(value); end
554
+ def localportrange=(value); end
555
+ def low_speed_limit=(value); end
556
+ def low_speed_time=(value); end
557
+ def mail_auth=(value); end
558
+ def mail_from=(value); end
559
+ def mail_rcpt=(value); end
560
+ def max_recv_speed_large=(value); end
561
+ def max_send_speed_large=(value); end
562
+ def maxconnects=(value); end
563
+ def maxfilesize=(value); end
564
+ def maxfilesize_large=(value); end
565
+ def maxredirs=(value); end
566
+ def multipart=(b); end
567
+ def multipart?; end
568
+ def netrc=(value); end
569
+ def netrc_file=(value); end
570
+ def new_directory_perms=(value); end
571
+ def new_file_perms=(value); end
572
+ def nobody=(value); end
573
+ def noprogress=(value); end
574
+ def noproxy=(value); end
575
+ def nosignal=(value); end
576
+ def opensocketdata=(value); end
577
+ def opensocketfunction(&block); end
578
+ def opensocketfunction=(value); end
579
+ def password=(value); end
580
+ def path_as_is=(value); end
581
+ def pinned_public_key=(value); end
582
+ def pinnedpublickey=(value); end
583
+ def pipewait=(value); end
584
+ def port=(value); end
585
+ def post301=(value); end
586
+ def post=(value); end
587
+ def postfields=(value); end
588
+ def postfieldsize=(value); end
589
+ def postfieldsize_large=(value); end
590
+ def postquote=(value); end
591
+ def postredir=(value); end
592
+ def pre_proxy=(value); end
593
+ def prequote=(value); end
594
+ def private=(value); end
595
+ def progressdata=(value); end
596
+ def progressfunction=(value); end
597
+ def protocols=(value); end
598
+ def proxy=(value); end
599
+ def proxy_cainfo=(value); end
600
+ def proxy_capath=(value); end
601
+ def proxy_crlfile=(value); end
602
+ def proxy_issuercert=(value); end
603
+ def proxy_keypasswd=(value); end
604
+ def proxy_pinned_public_key=(value); end
605
+ def proxy_pinnedpublickey=(value); end
606
+ def proxy_ssl_cipher_list=(value); end
607
+ def proxy_ssl_options=(value); end
608
+ def proxy_ssl_verifyhost=(value); end
609
+ def proxy_ssl_verifypeer=(value); end
610
+ def proxy_sslcert=(value); end
611
+ def proxy_sslcertpasswd=(value); end
612
+ def proxy_sslcerttype=(value); end
613
+ def proxy_sslkey=(value); end
614
+ def proxy_sslkeypasswd=(value); end
615
+ def proxy_sslkeytype=(value); end
616
+ def proxy_sslversion=(value); end
617
+ def proxy_tlsauth_password=(value); end
618
+ def proxy_tlsauth_type=(value); end
619
+ def proxy_tlsauth_username=(value); end
620
+ def proxy_transfer_mode=(value); end
621
+ def proxyauth=(value); end
622
+ def proxypassword=(value); end
623
+ def proxyport=(value); end
624
+ def proxytype=(value); end
625
+ def proxyusername=(value); end
626
+ def proxyuserpwd=(value); end
627
+ def put=(value); end
628
+ def quote=(value); end
629
+ def random_file=(value); end
630
+ def range=(value); end
631
+ def readdata=(value); end
632
+ def readfunction(&block); end
633
+ def readfunction=(value); end
634
+ def redir_protocols=(value); end
635
+ def referer=(value); end
636
+ def resolve=(value); end
637
+ def resume_from=(value); end
638
+ def resume_from_large=(value); end
639
+ def rtsp_client_cseq=(value); end
640
+ def rtsp_request=(value); end
641
+ def rtsp_server_cseq=(value); end
642
+ def rtsp_session_id=(value); end
643
+ def rtsp_stream_uri=(value); end
644
+ def rtsp_transport=(value); end
645
+ def rtspheader=(value); end
646
+ def sasl_ir=(value); end
647
+ def seekdata=(value); end
648
+ def seekfunction(&block); end
649
+ def seekfunction=(value); end
650
+ def server_response_timeout=(value); end
651
+ def share=(value); end
652
+ def sockoptdata=(value); end
653
+ def sockoptfunction(&block); end
654
+ def sockoptfunction=(value); end
655
+ def socks5_gssapi_nec=(value); end
656
+ def socks5_gssapi_service=(value); end
657
+ def ssh_auth_types=(value); end
658
+ def ssh_host_public_key_md5=(value); end
659
+ def ssh_keydata=(value); end
660
+ def ssh_keyfunction(&block); end
661
+ def ssh_keyfunction=(value); end
662
+ def ssh_knownhosts=(value); end
663
+ def ssh_private_keyfile=(value); end
664
+ def ssh_public_keyfile=(value); end
665
+ def ssl_cipher_list=(value); end
666
+ def ssl_ctx_data=(value); end
667
+ def ssl_ctx_function(&block); end
668
+ def ssl_ctx_function=(value); end
669
+ def ssl_options=(value); end
670
+ def ssl_sessionid_cache=(value); end
671
+ def ssl_verifyhost=(value); end
672
+ def ssl_verifypeer=(value); end
673
+ def sslcert=(value); end
674
+ def sslcertpasswd=(value); end
675
+ def sslcerttype=(value); end
676
+ def sslengine=(value); end
677
+ def sslengine_default=(value); end
678
+ def sslkey=(value); end
679
+ def sslkeypasswd=(value); end
680
+ def sslkeytype=(value); end
681
+ def sslversion=(value); end
682
+ def stderr=(value); end
683
+ def tcp_keepalive=(value); end
684
+ def tcp_keepidle=(value); end
685
+ def tcp_keepintvl=(value); end
686
+ def tcp_nodelay=(value); end
687
+ def telnetoptions=(value); end
688
+ def tftp_blksize=(value); end
689
+ def timecondition=(value); end
690
+ def timeout=(value); end
691
+ def timeout_ms=(value); end
692
+ def timevalue=(value); end
693
+ def tlsauth_password=(value); end
694
+ def tlsauth_type=(value); end
695
+ def tlsauth_username=(value); end
696
+ def transfer_encoding=(value); end
697
+ def transfertext=(value); end
698
+ def unix_socket=(value); end
699
+ def unix_socket_path=(value); end
700
+ def unrestricted_auth=(value); end
701
+ def upload=(value); end
702
+ def url; end
703
+ def url=(value); end
704
+ def use_ssl=(value); end
705
+ def useragent=(value); end
706
+ def username=(value); end
707
+ def userpwd=(value); end
708
+ def verbose=(value); end
709
+ def wildcardmatch=(value); end
710
+ def writedata=(value); end
711
+ def writefunction(&block); end
712
+ def writefunction=(value); end
713
+ def writeheader=(value); end
714
+ def xferinfodata=(value); end
715
+ def xferinfofunction=(value); end
716
+ end
717
+
718
+ class Ethon::Easy::Params
719
+ include ::Ethon::Easy::Util
720
+ include ::Ethon::Easy::Queryable
721
+
722
+ def initialize(easy, params); end
723
+
724
+ def escape; end
725
+ def escape=(_arg0); end
726
+ def params_encoding; end
727
+ def params_encoding=(_arg0); end
728
+ end
729
+
730
+ module Ethon::Easy::Queryable
731
+ def build_query_pairs(hash); end
732
+ def empty?; end
733
+ def file_info(file); end
734
+ def query_pairs; end
735
+ def to_s; end
736
+
737
+ private
738
+
739
+ def encode_hash_pairs(h, prefix, pairs); end
740
+ def encode_indexed_array_pairs(h, prefix, pairs); end
741
+ def encode_multi_array_pairs(h, prefix, pairs); end
742
+ def encode_rack_array_pairs(h, prefix, pairs); end
743
+ def mime_type(filename); end
744
+ def pairs_for(v, key, pairs); end
745
+ def recursively_generate_pairs(h, prefix, pairs); end
746
+
747
+ class << self
748
+ def included(base); end
749
+ end
750
+ end
751
+
752
+ module Ethon::Easy::ResponseCallbacks
753
+ def body(chunk); end
754
+ def complete; end
755
+ def headers; end
756
+ def on_body(&block); end
757
+ def on_complete(&block); end
758
+ def on_headers(&block); end
759
+ def on_progress(&block); end
760
+ def progress(dltotal, dlnow, ultotal, ulnow); end
761
+ end
762
+
763
+ module Ethon::Easy::Util
764
+ extend ::Ethon::Easy::Util
765
+
766
+ def escape_zero_byte(value); end
767
+ end
768
+
769
+ module Ethon::Errors; end
770
+ class Ethon::Errors::EthonError < ::StandardError; end
771
+
772
+ class Ethon::Errors::GlobalInit < ::Ethon::Errors::EthonError
773
+ def initialize; end
774
+ end
775
+
776
+ class Ethon::Errors::InvalidOption < ::Ethon::Errors::EthonError
777
+ def initialize(option); end
778
+ end
779
+
780
+ class Ethon::Errors::InvalidValue < ::Ethon::Errors::EthonError
781
+ def initialize(option, value); end
782
+ end
783
+
784
+ class Ethon::Errors::MultiAdd < ::Ethon::Errors::EthonError
785
+ def initialize(code, easy); end
786
+ end
787
+
788
+ class Ethon::Errors::MultiFdset < ::Ethon::Errors::EthonError
789
+ def initialize(code); end
790
+ end
791
+
792
+ class Ethon::Errors::MultiRemove < ::Ethon::Errors::EthonError
793
+ def initialize(code, easy); end
794
+ end
795
+
796
+ class Ethon::Errors::MultiTimeout < ::Ethon::Errors::EthonError
797
+ def initialize(code); end
798
+ end
799
+
800
+ class Ethon::Errors::Select < ::Ethon::Errors::EthonError
801
+ def initialize(errno); end
802
+ end
803
+
804
+ module Ethon::Libc
805
+ extend ::FFI::Library
806
+
807
+ def free(*_arg0); end
808
+ def getdtablesize(*_arg0); end
809
+
810
+ class << self
811
+ def free(*_arg0); end
812
+ def getdtablesize(*_arg0); end
813
+ def windows?; end
814
+ end
815
+ end
816
+
817
+ module Ethon::Loggable
818
+ def logger; end
819
+ def logger=(logger); end
820
+
821
+ private
822
+
823
+ def default_logger; end
824
+ def rails_logger; end
825
+ end
826
+
827
+ class Ethon::Multi
828
+ include ::Ethon::Multi::Stack
829
+ include ::Ethon::Multi::Operations
830
+ include ::Ethon::Multi::Options
831
+
832
+ def initialize(options = T.unsafe(nil)); end
833
+
834
+ def set_attributes(options); end
835
+
836
+ private
837
+
838
+ def ensure_execution_mode(expected_mode); end
839
+ end
840
+
841
+ module Ethon::Multi::Operations
842
+ def handle; end
843
+ def init_vars; end
844
+ def ongoing?; end
845
+ def perform; end
846
+ def prepare; end
847
+ def socket_action(io = T.unsafe(nil), readiness = T.unsafe(nil)); end
848
+
849
+ private
850
+
851
+ def check; end
852
+ def get_timeout; end
853
+ def reset_fds; end
854
+ def run; end
855
+ def running_count; end
856
+ def set_fds(timeout); end
857
+ def trigger(running_count_pointer); end
858
+ end
859
+
860
+ Ethon::Multi::Operations::PERFORMED_MULTI = T.let(T.unsafe(nil), String)
861
+ Ethon::Multi::Operations::STARTED_MULTI = T.let(T.unsafe(nil), String)
862
+
863
+ module Ethon::Multi::Options
864
+ def max_total_connections=(value); end
865
+ def maxconnects=(value); end
866
+ def pipelining=(value); end
867
+ def socketdata=(value); end
868
+ def socketfunction=(value); end
869
+ def timerdata=(value); end
870
+ def timerfunction=(value); end
871
+
872
+ private
873
+
874
+ def value_for(value, type, option = T.unsafe(nil)); end
875
+ end
876
+
877
+ module Ethon::Multi::Stack
878
+ def add(easy); end
879
+ def delete(easy); end
880
+ def easy_handles; end
881
+ end
882
+
883
+ Ethon::VERSION = T.let(T.unsafe(nil), String)