File: constants_curl_getinfo.xml

package info (click to toggle)
php-doc 20241205~git.dfcbb86%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 70,956 kB
  • sloc: xml: 968,269; php: 23,883; javascript: 671; sh: 177; makefile: 37
file content (791 lines) | stat: -rw-r--r-- 22,216 bytes parent folder | download | duplicates (2)
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
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
<?xml version="1.0" encoding="utf-8"?>
<variablelist xml:id="constant.curl-getinfo.constants" role="constant_list">
 <title><function>curl_getinfo</function></title>
 <varlistentry xml:id="constant.curlinfo-appconnect-time">
  <term>
   <constant>CURLINFO_APPCONNECT_TIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time in seconds it took from the start until the SSL/SSH connect/handshake to the remote host was completed
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-appconnect-time-t">
  <term>
   <constant>CURLINFO_APPCONNECT_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time, in microseconds, it took from the start until the SSL/SSH connect/handshake to the remote host was completed.
    Available as of PHP 7.3.0 and cURL 7.61.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-cainfo">
  <term>
   <constant>CURLINFO_CAINFO</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Default built-in CA certificate path.
    Available as of PHP 8.3.0 and cURL 7.84.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-capath">
  <term>
   <constant>CURLINFO_CAPATH</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Default built-in CA path string.
    Available as of PHP 8.3.0 and cURL 7.84.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-certinfo">
  <term>
   <constant>CURLINFO_CERTINFO</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    TLS certificate chain
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-condition-unmet">
  <term>
   <constant>CURLINFO_CONDITION_UNMET</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Info on unmet time conditional
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-connect-time">
  <term>
   <constant>CURLINFO_CONNECT_TIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time in seconds it took to establish the connection
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-connect-time-t">
  <term>
   <constant>CURLINFO_CONNECT_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total time taken, in microseconds, from the start until the connection to the remote host (or proxy) was completed.
    Available as of PHP 7.3.0 and cURL 7.61.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-content-length-download">
  <term>
   <constant>CURLINFO_CONTENT_LENGTH_DOWNLOAD</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Content length of download, read from Content-Length: field
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-content-length-download-t">
  <term>
   <constant>CURLINFO_CONTENT_LENGTH_DOWNLOAD_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The content-length of the download. This is the value read from the Content-Length: field. -1 if the size isn't known.
    Available as of PHP 7.3.0 and cURL 7.55.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-content-length-upload">
  <term>
   <constant>CURLINFO_CONTENT_LENGTH_UPLOAD</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Specified size of upload
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-content-length-upload-t">
  <term>
   <constant>CURLINFO_CONTENT_LENGTH_UPLOAD_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The specified size of the upload. -1 if the size isn't known.
    Available as of PHP 7.3.0 and cURL 7.55.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-content-type">
  <term>
   <constant>CURLINFO_CONTENT_TYPE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    <literal>Content-Type</literal> of the requested document.
    NULL indicates server did not send valid <literal>Content-Type</literal> header
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-cookielist">
  <term>
   <constant>CURLINFO_COOKIELIST</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    All known cookies
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-effective-method">
  <term>
   <constant>CURLINFO_EFFECTIVE_METHOD</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Get the last used HTTP method.
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-effective-url">
  <term>
   <constant>CURLINFO_EFFECTIVE_URL</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Last effective URL
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-filetime">
  <term>
   <constant>CURLINFO_FILETIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Remote time of the retrieved document, with the <constant>CURLOPT_FILETIME</constant> enabled; if -1 is returned the time of the document is unknown
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-filetime-t">
  <term>
   <constant>CURLINFO_FILETIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Remote time of the retrieved document (as Unix timestamp), an alternative to <constant>CURLINFO_FILETIME</constant> to allow systems with 32 bit long variables to extract dates outside of the 32bit timestamp range.
    Available as of PHP 7.3.0 and cURL 7.59.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-ftp-entry-path">
  <term>
   <constant>CURLINFO_FTP_ENTRY_PATH</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Entry path in FTP server
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-header-out">
  <term>
   <constant>CURLINFO_HEADER_OUT</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The request string sent. For this to work, add the <constant>CURLINFO_HEADER_OUT</constant> option to the handle by calling <function>curl_setopt</function>
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-header-size">
  <term>
   <constant>CURLINFO_HEADER_SIZE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total size of all headers received
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-httpauth-avail">
  <term>
   <constant>CURLINFO_HTTPAUTH_AVAIL</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Bitmask indicating the authentication method(s) available according to the previous response
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-http-code">
  <term>
   <constant>CURLINFO_HTTP_CODE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The last response code.
    As of cURL 7.10.8, this is a legacy alias of <constant>CURLINFO_RESPONSE_CODE</constant>.
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-http-connectcode">
  <term>
   <constant>CURLINFO_HTTP_CONNECTCODE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The CONNECT response code
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-http-version">
  <term>
   <constant>CURLINFO_HTTP_VERSION</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The version used in the last HTTP connection. The return value will be one of the defined <constant>CURL_HTTP_VERSION_<replaceable>*</replaceable></constant> constants or 0 if the version can't be determined.
    Available as of PHP 7.3.0 and cURL 7.50.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-lastone">
  <term>
   <constant>CURLINFO_LASTONE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The last enum value in the underlying <literal>CURLINFO</literal> enum
    in <literal>libcurl</literal>.
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-local-ip">
  <term>
   <constant>CURLINFO_LOCAL_IP</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Local (source) IP address of the most recent connection
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-local-port">
  <term>
   <constant>CURLINFO_LOCAL_PORT</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Local (source) port of the most recent connection
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-namelookup-time">
  <term>
   <constant>CURLINFO_NAMELOOKUP_TIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time in seconds until name resolving was complete
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-namelookup-time-t">
  <term>
   <constant>CURLINFO_NAMELOOKUP_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time in microseconds from the start until the name resolving was completed.
    Available as of PHP 7.3.0 and cURL 7.61.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-num-connects">
  <term>
   <constant>CURLINFO_NUM_CONNECTS</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Number of connections curl had to create to achieve the previous transfer
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-os-errno">
  <term>
   <constant>CURLINFO_OS_ERRNO</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Errno from a connect failure. The number is OS and system specific.
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-pretransfer-time">
  <term>
   <constant>CURLINFO_PRETRANSFER_TIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time in seconds from start until just before file transfer begins
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-pretransfer-time-t">
  <term>
   <constant>CURLINFO_PRETRANSFER_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time taken from the start until the file transfer is just about to begin, in microseconds.
    Available as of PHP 7.3.0 and cURL 7.61.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-primary-ip">
  <term>
   <constant>CURLINFO_PRIMARY_IP</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    IP address of the most recent connection
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-primary-port">
  <term>
   <constant>CURLINFO_PRIMARY_PORT</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Destination port of the most recent connection
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-private">
  <term>
   <constant>CURLINFO_PRIVATE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Private data associated with this cURL handle, previously set with the <constant>CURLOPT_PRIVATE</constant> option of <function>curl_setopt</function>
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-protocol">
  <term>
   <constant>CURLINFO_PROTOCOL</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The protocol used in the last HTTP connection. The returned value will be exactly one of the <constant>CURLPROTO_<replaceable>*</replaceable></constant> values.
    Available as of PHP 7.3.0 and cURL 7.52.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-proxyauth-avail">
  <term>
   <constant>CURLINFO_PROXYAUTH_AVAIL</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Bitmask indicating the proxy authentication method(s) available according to the previous response
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-proxy-error">
  <term>
   <constant>CURLINFO_PROXY_ERROR</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The detailed (SOCKS) proxy error code when the most recent transfer returned a <constant>CURLE_PROXY</constant> error. The returned value will be exactly one of the <constant>CURLPX_<replaceable>*</replaceable></constant> values. The error code will be <constant>CURLPX_OK</constant> if no response code was available.
    Available as of PHP 8.2.0 and cURL 7.73.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-proxy-ssl-verifyresult">
  <term>
   <constant>CURLINFO_PROXY_SSL_VERIFYRESULT</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The result of the certificate verification that was requested (using the <constant>CURLOPT_PROXY_SSL_VERIFYPEER</constant> option). Only used for HTTPS proxies.
    Available as of PHP 7.3.0 and cURL 7.52.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-redirect-count">
  <term>
   <constant>CURLINFO_REDIRECT_COUNT</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Number of redirects, with the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-redirect-time">
  <term>
   <constant>CURLINFO_REDIRECT_TIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time in seconds of all redirection steps before final transaction was started, with the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-redirect-time-t">
  <term>
   <constant>CURLINFO_REDIRECT_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total time, in microseconds, it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started.
    Available as of PHP 7.3.0 and cURL 7.61.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-redirect-url">
  <term>
   <constant>CURLINFO_REDIRECT_URL</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    With the <constant>CURLOPT_FOLLOWLOCATION</constant> option disabled: redirect URL found in the last transaction, that should be requested manually next. With the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled: this is empty. The redirect URL in this case is available in <constant>CURLINFO_EFFECTIVE_URL</constant>
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-referer">
  <term>
   <constant>CURLINFO_REFERER</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The <literal>Referer</literal> header.
    Available as of PHP 8.2.0 and cURL 7.76.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-request-size">
  <term>
   <constant>CURLINFO_REQUEST_SIZE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total size of issued requests, currently only for HTTP requests
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-response-code">
  <term>
   <constant>CURLINFO_RESPONSE_CODE</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The last response code.
    Available as of cURL 7.10.8
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-retry-after">
  <term>
   <constant>CURLINFO_RETRY_AFTER</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The information from the <literal>Retry-After</literal> header, or zero if there was no valid header.
    Available as of PHP 8.2.0 and cURL 7.66.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-rtsp-client-cseq">
  <term>
   <constant>CURLINFO_RTSP_CLIENT_CSEQ</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Next RTSP client CSeq
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-rtsp-cseq-recv">
  <term>
   <constant>CURLINFO_RTSP_CSEQ_RECV</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Recently received CSeq
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-rtsp-server-cseq">
  <term>
   <constant>CURLINFO_RTSP_SERVER_CSEQ</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Next RTSP server CSeq
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-rtsp-session-id">
  <term>
   <constant>CURLINFO_RTSP_SESSION_ID</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    RTSP session ID
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-scheme">
  <term>
   <constant>CURLINFO_SCHEME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The URL scheme used for the most recent connection.
    Available as of PHP 7.3.0 and cURL 7.52.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-size-download">
  <term>
   <constant>CURLINFO_SIZE_DOWNLOAD</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total number of bytes downloaded
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-size-download-t">
  <term>
   <constant>CURLINFO_SIZE_DOWNLOAD_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total number of bytes that were downloaded. The number is only for the latest transfer and will be reset again for each new transfer.
    Available as of PHP 7.3.0 and cURL 7.50.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-size-upload">
  <term>
   <constant>CURLINFO_SIZE_UPLOAD</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total number of bytes uploaded
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-size-upload-t">
  <term>
   <constant>CURLINFO_SIZE_UPLOAD_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total number of bytes that were uploaded.
    Available as of PHP 7.3.0 and cURL 7.50.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-speed-download">
  <term>
   <constant>CURLINFO_SPEED_DOWNLOAD</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Average download speed
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-speed-download-t">
  <term>
   <constant>CURLINFO_SPEED_DOWNLOAD_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The average download speed in bytes/second that curl measured for the complete download.
    Available as of PHP 7.3.0 and cURL 7.50.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-speed-upload">
  <term>
   <constant>CURLINFO_SPEED_UPLOAD</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Average upload speed
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-speed-upload-t">
  <term>
   <constant>CURLINFO_SPEED_UPLOAD_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    The average upload speed in bytes/second that curl measured for the complete upload.
    Available as of PHP 7.3.0 and cURL 7.50.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-ssl-engines">
  <term>
   <constant>CURLINFO_SSL_ENGINES</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    OpenSSL crypto-engines supported
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-ssl-verifyresult">
  <term>
   <constant>CURLINFO_SSL_VERIFYRESULT</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Result of SSL certification verification requested by setting <constant>CURLOPT_SSL_VERIFYPEER</constant>
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-starttransfer-time">
  <term>
   <constant>CURLINFO_STARTTRANSFER_TIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time in seconds until the first byte is about to be transferred
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-starttransfer-time-t">
  <term>
   <constant>CURLINFO_STARTTRANSFER_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time, in microseconds, it took from the start until the first byte is received.
    Available as of PHP 7.3.0 and cURL 7.61.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-total-time">
  <term>
   <constant>CURLINFO_TOTAL_TIME</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total transaction time in seconds for last transfer
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-total-time-t">
  <term>
   <constant>CURLINFO_TOTAL_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Total time in microseconds for the previous transfer, including name resolving, TCP connect etc.
    Available as of PHP 7.3.0 and cURL 7.61.0
   </simpara>
  </listitem>
 </varlistentry>
 <varlistentry xml:id="constant.curlinfo-posttransfer-time-t">
  <term>
   <constant>CURLINFO_POSTTRANSFER_TIME_T</constant>
   (<type>int</type>)
  </term>
  <listitem>
   <simpara>
    Time it took from the start until the last byte is sent, in microseconds.
    Available as of PHP 8.4.0 and cURL 8.10.0
   </simpara>
  </listitem>
 </varlistentry>
</variablelist>