forked from JCMais/node-libcurl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCurlInfo.ts
More file actions
634 lines (556 loc) · 23.1 KB
/
Copy pathCurlInfo.ts
File metadata and controls
634 lines (556 loc) · 23.1 KB
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
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
/**
* 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 2025-11-13T02:10:36.516Z
// 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'
/**
* The time it took from the start until the SSL connect/handshake with the remote host was completed as a double in number of seconds.
*
* 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'
/**
* The time it took from the start until the SSL connect/handshake with the remote host was completed in number of microseconds. (Added in 7.60.0)
*
* 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 CURLOPT_CAINFO.
*
* 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 CURLOPT_CAPATH.
*
* 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'
/**
* The ID of the last connection used by the transfer. (Added in 8.2.0)
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_CONN_ID.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONN_ID.html)
*/
readonly CONN_ID: 'CONN_ID'
/**
* The time it took from the start until the connect to the remote host (or proxy) was completed. As a double.
*
* 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'
/**
* The time it took from the start until the connect to the remote host (or proxy) was completed. In microseconds. See CURLINFO_CONNECT_TIME_T.
*
* 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'
/**
* Amount of TLS early data sent (in number of bytes) when CURLSSLOPT_EARLYDATA is enabled.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_EARLYDATA_SENT_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_EARLYDATA_SENT_T.html)
*/
readonly EARLYDATA_SENT_T: 'EARLYDATA_SENT_T'
/**
* 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'
/**
* Used HTTP authentication method.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_USED.html](https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_USED.html)
*/
readonly HTTPAUTH_USED: 'HTTPAUTH_USED'
/**
* (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'
/**
* Source IP address of the 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'
/**
* Source port number of the 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 as a double.
*
* 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 in number of microseconds.
*
* 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'
/**
* The time it took from the start until the last byte is sent by libcurl. In microseconds. (Added in 8.10.0)
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_POSTTRANSFER_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_POSTTRANSFER_TIME_T.html)
*/
readonly POSTTRANSFER_TIME_T: 'POSTTRANSFER_TIME_T'
/**
* The time it took from the start until the file transfer is just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved.
*
* 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'
/**
* The time it took from the start until the file transfer is just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved. In microseconds.
*
* 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'
/**
* Destination 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'
/**
* Destination 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.
*
* 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'
/**
* Used HTTP proxy authentication methods.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_USED.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_USED.html)
*/
readonly PROXYAUTH_USED: 'PROXYAUTH_USED'
/**
* The time during which the transfer was held in a waiting queue before it could start for real in number of microseconds. (Added in 8.6.0)
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_QUEUE_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_QUEUE_TIME_T.html)
*/
readonly QUEUE_TIME_T: 'QUEUE_TIME_T'
/**
* 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'
/**
* The time it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started. So, this is zero if no redirection took place. As a double.
*
* 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'
/**
* The time it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started. So, this is zero if no redirection took place. In number of microseconds.
*
* 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 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'
/**
* The RTSP client CSeq that is expected next.
*
* 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'
/**
* The RTSP server CSeq that is expected next.
*
* 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.
*
* 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 in number of bytes per second.
*
* 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'
/**
* The time it took from the start until the first byte is received by libcurl. As a double.
*
* 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'
/**
* The time it took from the start until the first byte is received by libcurl. In microseconds.
*
* 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'
/**
* (Deprecated) TLS session info that can be used for further processing. See CURLINFO_TLS_SESSION. Use CURLINFO_TLS_SSL_PTR 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'
/**
* Whether the proxy was used (Added in 8.7.0).
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_USED_PROXY.html](https://curl.haxx.se/libcurl/c/CURLINFO_USED_PROXY.html)
*/
readonly USED_PROXY: 'USED_PROXY'
/**
* The ID of the transfer. (Added in 8.2.0)
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLINFO_XFER_ID.html](https://curl.haxx.se/libcurl/c/CURLINFO_XFER_ID.html)
*/
readonly XFER_ID: 'XFER_ID'
}
/**
* @public
*/
export type CurlInfoName =
| 'ACTIVESOCKET'
| 'APPCONNECT_TIME'
| 'APPCONNECT_TIME_T'
| 'CAINFO'
| 'CAPATH'
| 'CERTINFO'
| 'CONDITION_UNMET'
| 'CONN_ID'
| 'CONNECT_TIME'
| 'CONNECT_TIME_T'
| 'CONTENT_LENGTH_DOWNLOAD'
| 'CONTENT_LENGTH_DOWNLOAD_T'
| 'CONTENT_LENGTH_UPLOAD'
| 'CONTENT_LENGTH_UPLOAD_T'
| 'CONTENT_TYPE'
| 'COOKIELIST'
| 'EARLYDATA_SENT_T'
| 'EFFECTIVE_METHOD'
| 'EFFECTIVE_URL'
| 'FILETIME'
| 'FILETIME_T'
| 'FTP_ENTRY_PATH'
| 'HEADER_SIZE'
| 'HTTP_CONNECTCODE'
| 'HTTP_VERSION'
| 'HTTPAUTH_AVAIL'
| 'HTTPAUTH_USED'
| 'LASTSOCKET'
| 'LOCAL_IP'
| 'LOCAL_PORT'
| 'NAMELOOKUP_TIME'
| 'NAMELOOKUP_TIME_T'
| 'NUM_CONNECTS'
| 'OS_ERRNO'
| 'POSTTRANSFER_TIME_T'
| 'PRETRANSFER_TIME'
| 'PRETRANSFER_TIME_T'
| 'PRIMARY_IP'
| 'PRIMARY_PORT'
| 'PRIVATE'
| 'PROTOCOL'
| 'PROXY_ERROR'
| 'PROXY_SSL_VERIFYRESULT'
| 'PROXYAUTH_AVAIL'
| 'PROXYAUTH_USED'
| 'QUEUE_TIME_T'
| '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'
| 'USED_PROXY'
| 'XFER_ID'