-
-
Notifications
You must be signed in to change notification settings - Fork 121
/
Copy pathCurlInfo.ts
570 lines (500 loc) · 19.7 KB
/
CurlInfo.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
/**
* Copyright (c) Jonathan Cardoso Machado. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// This file was generated by scripts/build-constants.js on 2022-10-31T13:21:27.964Z
// Do not edit manually
/**
* @public
*/
export interface CurlInfo {
/**
* The session's active socket.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_ACTIVESOCKET.html](https://curl.haxx.se/libcurl/c/CURLINFO_ACTIVESOCKET.html)
*/
readonly ACTIVESOCKET: 'ACTIVESOCKET'
/**
* Time from start until SSL/SSH handshake completed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME.html)
*/
readonly APPCONNECT_TIME: 'APPCONNECT_TIME'
/**
* Time from start until SSL/SSH handshake completed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME_T.html)
*/
readonly APPCONNECT_TIME_T: 'APPCONNECT_TIME_T'
/**
* Get the default value for .
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLINFO_CAINFO.html)
*/
readonly CAINFO: 'CAINFO'
/**
* Get the default value for .
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLINFO_CAPATH.html)
*/
readonly CAPATH: 'CAPATH'
/**
* Certificate chain.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CERTINFO.html](https://curl.haxx.se/libcurl/c/CURLINFO_CERTINFO.html)
*/
readonly CERTINFO: 'CERTINFO'
/**
* Whether or not a time conditional was met or 304 HTTP response.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONDITION_UNMET.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONDITION_UNMET.html)
*/
readonly CONDITION_UNMET: 'CONDITION_UNMET'
/**
* Time from start until remote host or proxy completed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME.html)
*/
readonly CONNECT_TIME: 'CONNECT_TIME'
/**
* Time from start until remote host or proxy completed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME_T.html)
*/
readonly CONNECT_TIME_T: 'CONNECT_TIME_T'
/**
* (Deprecated) Content length from the Content-Length header.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD.html)
*/
readonly CONTENT_LENGTH_DOWNLOAD: 'CONTENT_LENGTH_DOWNLOAD'
/**
* Content length from the Content-Length header.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.html)
*/
readonly CONTENT_LENGTH_DOWNLOAD_T: 'CONTENT_LENGTH_DOWNLOAD_T'
/**
* (Deprecated) Upload size.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD.html)
*/
readonly CONTENT_LENGTH_UPLOAD: 'CONTENT_LENGTH_UPLOAD'
/**
* Upload size.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD_T.html)
*/
readonly CONTENT_LENGTH_UPLOAD_T: 'CONTENT_LENGTH_UPLOAD_T'
/**
* Content type from the Content-Type header.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_TYPE.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_TYPE.html)
*/
readonly CONTENT_TYPE: 'CONTENT_TYPE'
/**
* List of all known cookies.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_COOKIELIST.html](https://curl.haxx.se/libcurl/c/CURLINFO_COOKIELIST.html)
*/
readonly COOKIELIST: 'COOKIELIST'
/**
* Last used HTTP method.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_METHOD.html](https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_METHOD.html)
*/
readonly EFFECTIVE_METHOD: 'EFFECTIVE_METHOD'
/**
* Last used URL.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_URL.html](https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_URL.html)
*/
readonly EFFECTIVE_URL: 'EFFECTIVE_URL'
/**
* Remote time of the retrieved document.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME.html)
*/
readonly FILETIME: 'FILETIME'
/**
* Remote time of the retrieved document.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME_T.html)
*/
readonly FILETIME_T: 'FILETIME_T'
/**
* The entry path after logging in to an FTP server.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_FTP_ENTRY_PATH.html](https://curl.haxx.se/libcurl/c/CURLINFO_FTP_ENTRY_PATH.html)
*/
readonly FTP_ENTRY_PATH: 'FTP_ENTRY_PATH'
/**
* Number of bytes of all headers received.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HEADER_SIZE.html](https://curl.haxx.se/libcurl/c/CURLINFO_HEADER_SIZE.html)
*/
readonly HEADER_SIZE: 'HEADER_SIZE'
/**
* Last proxy CONNECT response code.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_CONNECTCODE.html](https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_CONNECTCODE.html)
*/
readonly HTTP_CONNECTCODE: 'HTTP_CONNECTCODE'
/**
* The http version used in the connection.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_VERSION.html](https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_VERSION.html)
*/
readonly HTTP_VERSION: 'HTTP_VERSION'
/**
* Available HTTP authentication methods.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_AVAIL.html](https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_AVAIL.html)
*/
readonly HTTPAUTH_AVAIL: 'HTTPAUTH_AVAIL'
/**
* (Deprecated) Last socket used.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_LASTSOCKET.html](https://curl.haxx.se/libcurl/c/CURLINFO_LASTSOCKET.html)
*/
readonly LASTSOCKET: 'LASTSOCKET'
/**
* Local-end IP address of last connection.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_IP.html](https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_IP.html)
*/
readonly LOCAL_IP: 'LOCAL_IP'
/**
* Local-end port of last connection.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_PORT.html](https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_PORT.html)
*/
readonly LOCAL_PORT: 'LOCAL_PORT'
/**
* Time from start until name resolving completed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME.html)
*/
readonly NAMELOOKUP_TIME: 'NAMELOOKUP_TIME'
/**
* Time from start until name resolving completed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME_T.html)
*/
readonly NAMELOOKUP_TIME_T: 'NAMELOOKUP_TIME_T'
/**
* Number of new successful connections used for previous transfer.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_NUM_CONNECTS.html](https://curl.haxx.se/libcurl/c/CURLINFO_NUM_CONNECTS.html)
*/
readonly NUM_CONNECTS: 'NUM_CONNECTS'
/**
* The errno from the last failure to connect.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_OS_ERRNO.html](https://curl.haxx.se/libcurl/c/CURLINFO_OS_ERRNO.html)
*/
readonly OS_ERRNO: 'OS_ERRNO'
/**
* Time from start until just before the transfer begins.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME.html)
*/
readonly PRETRANSFER_TIME: 'PRETRANSFER_TIME'
/**
* Time from start until just before the transfer begins.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME_T.html)
*/
readonly PRETRANSFER_TIME_T: 'PRETRANSFER_TIME_T'
/**
* IP address of the last connection.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_IP.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_IP.html)
*/
readonly PRIMARY_IP: 'PRIMARY_IP'
/**
* Port of the last connection.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_PORT.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_PORT.html)
*/
readonly PRIMARY_PORT: 'PRIMARY_PORT'
/**
* User's private data pointer.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRIVATE.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRIVATE.html)
*/
readonly PRIVATE: 'PRIVATE'
/**
* (Deprecated) The protocol used for the connection. (Added in 7.52.0)
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROTOCOL.html)
*/
readonly PROTOCOL: 'PROTOCOL'
/**
* Detailed proxy error.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_ERROR.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_ERROR.html)
*/
readonly PROXY_ERROR: 'PROXY_ERROR'
/**
* Proxy certificate verification result.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_SSL_VERIFYRESULT.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_SSL_VERIFYRESULT.html)
*/
readonly PROXY_SSL_VERIFYRESULT: 'PROXY_SSL_VERIFYRESULT'
/**
* Available HTTP proxy authentication methods.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_AVAIL.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_AVAIL.html)
*/
readonly PROXYAUTH_AVAIL: 'PROXYAUTH_AVAIL'
/**
* Total number of redirects that were followed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_COUNT.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_COUNT.html)
*/
readonly REDIRECT_COUNT: 'REDIRECT_COUNT'
/**
* Time taken for all redirect steps before the final transfer.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME.html)
*/
readonly REDIRECT_TIME: 'REDIRECT_TIME'
/**
* Time taken for all redirect steps before the final transfer.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME_T.html)
*/
readonly REDIRECT_TIME_T: 'REDIRECT_TIME_T'
/**
* URL a redirect would take you to, had you enabled redirects.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_URL.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_URL.html)
*/
readonly REDIRECT_URL: 'REDIRECT_URL'
/**
* Referrer header.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REFERER.html](https://curl.haxx.se/libcurl/c/CURLINFO_REFERER.html)
*/
readonly REFERER: 'REFERER'
/**
* Number of bytes sent in the issued HTTP requests.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REQUEST_SIZE.html](https://curl.haxx.se/libcurl/c/CURLINFO_REQUEST_SIZE.html)
*/
readonly REQUEST_SIZE: 'REQUEST_SIZE'
/**
* Last received response code.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RESPONSE_CODE.html](https://curl.haxx.se/libcurl/c/CURLINFO_RESPONSE_CODE.html)
*/
readonly RESPONSE_CODE: 'RESPONSE_CODE'
/**
* The value from the from the Retry-After header.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RETRY_AFTER.html](https://curl.haxx.se/libcurl/c/CURLINFO_RETRY_AFTER.html)
*/
readonly RETRY_AFTER: 'RETRY_AFTER'
/**
* RTSP CSeq that will next be used.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CLIENT_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CLIENT_CSEQ.html)
*/
readonly RTSP_CLIENT_CSEQ: 'RTSP_CLIENT_CSEQ'
/**
* RTSP CSeq last received.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CSEQ_RECV.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CSEQ_RECV.html)
*/
readonly RTSP_CSEQ_RECV: 'RTSP_CSEQ_RECV'
/**
* RTSP CSeq that will next be expected.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SERVER_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SERVER_CSEQ.html)
*/
readonly RTSP_SERVER_CSEQ: 'RTSP_SERVER_CSEQ'
/**
* RTSP session ID.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SESSION_ID.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SESSION_ID.html)
*/
readonly RTSP_SESSION_ID: 'RTSP_SESSION_ID'
/**
* The scheme used for the connection. (Added in 7.52.0)
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SCHEME.html](https://curl.haxx.se/libcurl/c/CURLINFO_SCHEME.html)
*/
readonly SCHEME: 'SCHEME'
/**
* (Deprecated) Number of bytes downloaded.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD.html)
*/
readonly SIZE_DOWNLOAD: 'SIZE_DOWNLOAD'
/**
* Number of bytes downloaded.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD_T.html)
*/
readonly SIZE_DOWNLOAD_T: 'SIZE_DOWNLOAD_T'
/**
* (Deprecated) Number of bytes uploaded.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD.html)
*/
readonly SIZE_UPLOAD: 'SIZE_UPLOAD'
/**
* Number of bytes uploaded.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD_T.html)
*/
readonly SIZE_UPLOAD_T: 'SIZE_UPLOAD_T'
/**
* (Deprecated) Average download speed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD.html)
*/
readonly SPEED_DOWNLOAD: 'SPEED_DOWNLOAD'
/**
* Average download speed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD_T.html)
*/
readonly SPEED_DOWNLOAD_T: 'SPEED_DOWNLOAD_T'
/**
* (Deprecated) Average upload speed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD.html)
*/
readonly SPEED_UPLOAD: 'SPEED_UPLOAD'
/**
* Average upload speed.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD_T.html)
*/
readonly SPEED_UPLOAD_T: 'SPEED_UPLOAD_T'
/**
* A list of OpenSSL crypto engines.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SSL_ENGINES.html](https://curl.haxx.se/libcurl/c/CURLINFO_SSL_ENGINES.html)
*/
readonly SSL_ENGINES: 'SSL_ENGINES'
/**
* Certificate verification result.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SSL_VERIFYRESULT.html](https://curl.haxx.se/libcurl/c/CURLINFO_SSL_VERIFYRESULT.html)
*/
readonly SSL_VERIFYRESULT: 'SSL_VERIFYRESULT'
/**
* Time from start until just when the first byte is received.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME.html)
*/
readonly STARTTRANSFER_TIME: 'STARTTRANSFER_TIME'
/**
* Time from start until just when the first byte is received.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME_T.html)
*/
readonly STARTTRANSFER_TIME_T: 'STARTTRANSFER_TIME_T'
/**
* TLS session info that can be used for further processing. See . Deprecated option, use instead!
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SESSION.html](https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SESSION.html)
*/
readonly TLS_SESSION: 'TLS_SESSION'
/**
* TLS session info that can be used for further processing.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SSL_PTR.html](https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SSL_PTR.html)
*/
readonly TLS_SSL_PTR: 'TLS_SSL_PTR'
/**
* Total time of previous transfer.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME.html)
*/
readonly TOTAL_TIME: 'TOTAL_TIME'
/**
* Total time of previous transfer.
*
* Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME_T.html)
*/
readonly TOTAL_TIME_T: 'TOTAL_TIME_T'
}
/**
* @public
*/
export type CurlInfoName =
| 'ACTIVESOCKET'
| 'APPCONNECT_TIME'
| 'APPCONNECT_TIME_T'
| 'CAINFO'
| 'CAPATH'
| 'CERTINFO'
| 'CONDITION_UNMET'
| 'CONNECT_TIME'
| 'CONNECT_TIME_T'
| 'CONTENT_LENGTH_DOWNLOAD'
| 'CONTENT_LENGTH_DOWNLOAD_T'
| 'CONTENT_LENGTH_UPLOAD'
| 'CONTENT_LENGTH_UPLOAD_T'
| 'CONTENT_TYPE'
| 'COOKIELIST'
| 'EFFECTIVE_METHOD'
| 'EFFECTIVE_URL'
| 'FILETIME'
| 'FILETIME_T'
| 'FTP_ENTRY_PATH'
| 'HEADER_SIZE'
| 'HTTP_CONNECTCODE'
| 'HTTP_VERSION'
| 'HTTPAUTH_AVAIL'
| 'LASTSOCKET'
| 'LOCAL_IP'
| 'LOCAL_PORT'
| 'NAMELOOKUP_TIME'
| 'NAMELOOKUP_TIME_T'
| 'NUM_CONNECTS'
| 'OS_ERRNO'
| 'PRETRANSFER_TIME'
| 'PRETRANSFER_TIME_T'
| 'PRIMARY_IP'
| 'PRIMARY_PORT'
| 'PRIVATE'
| 'PROTOCOL'
| 'PROXY_ERROR'
| 'PROXY_SSL_VERIFYRESULT'
| 'PROXYAUTH_AVAIL'
| 'REDIRECT_COUNT'
| 'REDIRECT_TIME'
| 'REDIRECT_TIME_T'
| 'REDIRECT_URL'
| 'REFERER'
| 'REQUEST_SIZE'
| 'RESPONSE_CODE'
| 'RETRY_AFTER'
| 'RTSP_CLIENT_CSEQ'
| 'RTSP_CSEQ_RECV'
| 'RTSP_SERVER_CSEQ'
| 'RTSP_SESSION_ID'
| 'SCHEME'
| 'SIZE_DOWNLOAD'
| 'SIZE_DOWNLOAD_T'
| 'SIZE_UPLOAD'
| 'SIZE_UPLOAD_T'
| 'SPEED_DOWNLOAD'
| 'SPEED_DOWNLOAD_T'
| 'SPEED_UPLOAD'
| 'SPEED_UPLOAD_T'
| 'SSL_ENGINES'
| 'SSL_VERIFYRESULT'
| 'STARTTRANSFER_TIME'
| 'STARTTRANSFER_TIME_T'
| 'TLS_SESSION'
| 'TLS_SSL_PTR'
| 'TOTAL_TIME'
| 'TOTAL_TIME_T'