-
Notifications
You must be signed in to change notification settings - Fork 801
/
curl_d.php
4402 lines (4090 loc) · 148 KB
/
curl_d.php
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
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* A bitmask consisting of one or more of
* <b>CURLSSH_AUTH_PUBLICKEY</b>,
* <b>CURLSSH_AUTH_PASSWORD</b>,
* <b>CURLSSH_AUTH_HOST</b>,
* <b>CURLSSH_AUTH_KEYBOARD</b>. Set to
* <b>CURLSSH_AUTH_ANY</b> to let libcurl pick one.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSH_AUTH_TYPES', 151);
/**
* <b>TRUE</b> tells the library to perform all the required proxy authentication
* and connection setup, but no data transfer. This option is implemented for
* HTTP, SMTP and POP3.
* @since 5.5
* @link https://php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_CONNECT_ONLY', 141);
/**
* With the <b>CURLOPT_FOLLOWLOCATION</b> option disabled:
* redirect URL found in the last transaction, that should be requested manually next.
* With the <b>CURLOPT_FOLLOWLOCATION</b> option enabled:
* this is empty. The redirect URL in this case is available in <b>CURLINFO_EFFECTIVE_URL</b>
* @link https://www.php.net/manual/en/function.curl-getinfo.php
* @since 5.3.7
*/
define('CURLINFO_REDIRECT_URL', 1048607);
/**
* IP address of the most recent connection
* @link https://www.php.net/manual/en/function.curl-getinfo.php
* @since 5.4.7
*/
define('CURLINFO_PRIMARY_IP', 1048608);
/**
* Destination port of the most recent connection
* @link https://www.php.net/manual/en/function.curl-getinfo.php
* @since 5.4.7
*/
define('CURLINFO_PRIMARY_PORT', 2097192);
/**
* Local (source) IP address of the most recent connection
* @link https://www.php.net/manual/en/function.curl-getinfo.php
* @since 5.4.7
*/
define('CURLINFO_LOCAL_IP', 1048617);
/**
* Local (source) port of the most recent connection
* @link https://www.php.net/manual/en/function.curl-getinfo.php
* @since 5.4.7
*/
define('CURLINFO_LOCAL_PORT', 2097194);
/**
* A result of {@see curl_share_init()}. Makes the cURL handle to use the data from the shared handle.
* @link https://php.net/manual/en/function.curl-setopt.php
* @since 5.5
*/
define('CURLOPT_SHARE', 10100);
/**
* Allows an application to select what kind of IP addresses to use when resolving host names.
* This is only interesting when using host names that resolve addresses using more than one version of IP,
* possible values are <b>CURL_IPRESOLVE_WHATEVER</b>, <b>CURL_IPRESOLVE_V4</b>, <b>CURL_IPRESOLVE_V6</b>, by default <b>CURL_IPRESOLVE_WHATEVER</b>.
* @link https://php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_IPRESOLVE', 113);
/**
* Value for the <b>CURLOPT_IPRESOLVE</b> option.
* Default, resolves addresses to all IP versions that your system allows.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html
*/
define('CURL_IPRESOLVE_WHATEVER', 0);
/**
* Value for the <b>CURLOPT_IPRESOLVE</b> option.
* Resolve to IPv4 addresses.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html
*/
define('CURL_IPRESOLVE_V4', 1);
/**
* Value for the <b>CURLOPT_IPRESOLVE</b> option.
* Resolve to IPv6 addresses.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html
*/
define('CURL_IPRESOLVE_V6', 2);
/**
* <b>TRUE</b> to use a global DNS cache. This option is not thread-safe.
* It is conditionally enabled by default if PHP is built for non-threaded use (CLI, FCGI, Apache2-Prefork, etc.).
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_DNS_USE_GLOBAL_CACHE', 91);
/**
* The number of seconds to keep DNS entries in memory.
* This option is set to 120 (2 minutes) by default.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_DNS_CACHE_TIMEOUT', 92);
/**
* An alternative port number to connect to.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PORT', 3);
/**
* The file that the transfer should be written to. The default is STDOUT (the browser window).
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FILE', 10001);
/**
* Custom pointer passed to the read callback.
* If you use the CURLOPT_READFUNCTION option, this is the pointer you'll get as input in the 4th argument to the callback.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html
*/
define('CURLOPT_READDATA', 10009);
/**
* The file that the transfer should be read from when uploading.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_INFILE', 10009);
/**
* The expected size, in bytes, of the file when uploading a file to a remote site.
* Note that using this option will not stop libcurl from sending more data, as exactly what is sent depends on <b>CURLOPT_READFUNCTION</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_INFILESIZE', 14);
/**
* The URL to fetch. This can also be set when initializing a session with {@see curl_init()}.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_URL', 10002);
/**
* The HTTP proxy to tunnel requests through.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PROXY', 10004);
/**
* <b>TRUE</b> to output verbose information.
* Writes output to STDERR, or the file specified using <b>CURLOPT_STDERR</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_VERBOSE', 41);
/**
* <b>TRUE</b> to include the header in the output.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HEADER', 42);
/**
* An array of HTTP header fields to set, in the format array('<em>Content-type: text/plain</em>', '<em>Content-length: 100</em>')
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HTTPHEADER', 10023);
/**
* <b>TRUE</b> to disable the progress meter for cURL transfers.
* (PHP automatically sets this option to TRUE, this should only be changed for debugging purposes.)
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_NOPROGRESS', 43);
/**
* A callback accepting five parameters.
* The first is the cURL resource,
* the second is the total number of bytes expected to be downloaded in this transfer,
* the third is the number of bytes downloaded so far,
* the fourth is the total number of bytes expected to be uploaded in this transfer,
* and the fifth is the number of bytes uploaded so far.
* (The callback is only called when the <b>CURLOPT_NOPROGRESS</b> option is set to <b>FALSE</b>.)
* Return a non-zero value to abort the transfer. In which case, the transfer will set a <b>CURLE_ABORTED_BY_CALLBACK</b> error.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.3
*/
define('CURLOPT_PROGRESSFUNCTION', 20056);
/**
* <b>TRUE</b> to exclude the body from the output. Request method is then set to HEAD. Changing this to <b>FALSE</b> does not change it to GET.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_NOBODY', 44);
/**
* <b>TRUE</b> to fail verbosely if the HTTP code returned is greater than or equal to 400.
* The default behavior is to return the page normally, ignoring the code.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FAILONERROR', 45);
/**
* <b>TRUE</b> to prepare for an upload.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_UPLOAD', 46);
/**
* <b>TRUE</b> to do a regular HTTP POST.
* This POST is the normal application/x-www-form-urlencoded kind, most commonly used by HTML forms.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_POST', 47);
/**
* <b>TRUE</b> to only list the names of an FTP directory.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FTPLISTONLY', 48);
/**
* <b>TRUE</b> to append to the remote file instead of overwriting it.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FTPAPPEND', 50);
/**
* <b>TRUE</b> to scan the ~/.netrc file to find a username and password for the remote site that a connection is being established with.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_NETRC', 51);
/**
* A bitmask of 1 (301 Moved Permanently), 2 (302 Found) and 4 (303 See Other) if the HTTP POST method should be maintained
* when <b>CURLOPT_FOLLOWLOCATION</b> is set and a specific type of redirect occurs.
* @link https://secure.php.net/manual/en/function.curl-setopt.php
* @since 5.3.2
*/
define('CURLOPT_POSTREDIR', 161);
/**
* <b>TRUE</b> to output SSL certification information to STDERR on secure transfers.
* Requires <b>CURLOPT_VERBOSE</b> to be on to have an effect.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.3.2
*/
define('CURLOPT_CERTINFO', 172);
/**
* An alias of <b>CURLOPT_TRANSFERTEXT</b>. Use that instead.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FTPASCII', -1);
/**
* <b>TRUE</b> to be completely silent with regards to the cURL functions.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @deprecated use <b>CURLOPT_RETURNTRANSFER</b> instead since cURL 7.15.5
*/
define('CURLOPT_MUTE', -1);
/**
* Bitmask of CURLPROTO_* values. If used, this bitmask limits what protocols libcurl may use in the transfer.
* This allows you to have a libcurl built to support a wide range of protocols but still limit specific transfers
* to only be allowed to use a subset of them.
* By default libcurl will accept all protocols it supports. See also <b>CURLOPT_REDIR_PROTOCOLS</b>.
* Valid protocol options are:
* <b>CURLPROTO_HTTP</b>, <b>CURLPROTO_HTTPS</b>, <b>CURLPROTO_FTP</b>, <b>CURLPROTO_FTPS</b>, <b>CURLPROTO_SCP</b>, <b>CURLPROTO_SFTP</b>,
* <b>CURLPROTO_TELNET</b>, <b>CURLPROTO_LDAP</b>, <b>CURLPROTO_LDAPS</b>, <b>CURLPROTO_DICT</b>, <b>CURLPROTO_FILE</b>, <b>CURLPROTO_TFTP</b>,
* <b>CURLPROTO_ALL</b>
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.2.10
*/
define('CURLOPT_PROTOCOLS', 181);
/**
* Bitmask of CURLPROTO_* values. If used, this bitmask limits what protocols libcurl may use in a transfer
* that it follows to in a redirect when <b>CURLOPT_FOLLOWLOCATION</b> is enabled.
* This allows you to limit specific transfers to only be allowed to use a subset of protocols in redirections.
* By default libcurl will allow all protocols except for FILE and SCP.
* This is a difference compared to pre-7.19.4 versions which unconditionally would follow to all protocols supported.
* See also <b>CURLOPT_PROTOCOLS</b> for protocol constant values.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.2.10
*/
define('CURLOPT_REDIR_PROTOCOLS', 182);
/**
* If a download exceeds this speed (counted in bytes per second) on cumulative average during the transfer,
* the transfer will pause to keep the average rate less than or equal to the parameter value.
* Defaults to unlimited speed.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.4
*/
define('CURLOPT_MAX_RECV_SPEED_LARGE', 30146);
/**
* If an upload exceeds this speed (counted in bytes per second) on cumulative average during the transfer,
* the transfer will pause to keep the average rate less than or equal to the parameter value.
* Defaults to unlimited speed.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.4
*/
define('CURLOPT_MAX_SEND_SPEED_LARGE', 30145);
/**
* A callback accepting three parameters.
* The first is the cURL resource, the second is a string containing a password prompt, and the third is the maximum password length.
* Return the string containing the password.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PASSWDFUNCTION', -1);
/**
* <b>TRUE</b> to follow any "<em>Location: </em>" header that the server sends as part of the HTTP header
* (note this is recursive, PHP will follow as many "Location: " headers that it is sent, unless <b>CURLOPT_MAXREDIRS</b> is set).
* This constant is not available when open_basedir
* or safe_mode are enabled.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FOLLOWLOCATION', 52);
/**
* <b>TRUE</b> to HTTP PUT a file. The file to PUT must be set with <b>CURLOPT_INFILE</b> and <b>CURLOPT_INFILESIZE</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PUT', 54);
/**
* A username and password formatted as "<em>[username]:[password]</em>" to use for the connection.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_USERPWD', 10005);
/**
* A username and password formatted as "<em>[username]:[password]</em>" to use for the connection to the proxy.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PROXYUSERPWD', 10006);
/**
* Range(s) of data to retrieve in the format "<em>X-Y</em>" where X or Y are optional.
* HTTP transfers also support several intervals, separated with commas in the format "<em>X-Y,N-M</em>".
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_RANGE', 10007);
/**
* The maximum number of seconds to allow cURL functions to execute.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_TIMEOUT', 13);
/**
* The maximum number of milliseconds to allow cURL functions to execute.
* If libcurl is built to use the standard system name resolver,
* that portion of the connect will still use full-second resolution for timeouts with a minimum timeout allowed of one second.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.2
*/
define('CURLOPT_TIMEOUT_MS', 155);
/**
* The full data to post in a HTTP "POST" operation.
* To post a file, prepend a filename with @ and use the full path.
* The filetype can be explicitly specified by following the filename with the type in the format '<em>;type=mimetype</em>'.
* This parameter can either be passed
* as a urlencoded string like '<em>para1=val1¶2=val2&...</em>'
* or as an array with the field name as key and field data as value.
* If value is an array, the <em>Content-Type</em> header will be set to <em>multipart/form-data</em>.
* As of PHP 5.2.0, value must be an array if files are passed to this option with the @ prefix.
* As of PHP 5.5.0, the @ prefix is deprecated and files can be sent using <b>CURLFile</b>.
* The @ prefix can be disabled for safe passing of values beginning with @ by setting the <b>CURLOPT_SAFE_UPLOAD</b> option to TRUE.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_POSTFIELDS', 10015);
/**
* The contents of the "<em>Referer: </em>" header to be used in a HTTP request.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_REFERER', 10016);
/**
* A string containing 32 hexadecimal digits.
* The string should be the MD5 checksum of the remote host's public key, and libcurl will reject the connection to the host unless the md5sums match.
* This option is only for <b>SCP</b> and <b>SFTP</b> transfers.
* @link https://php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSH_HOST_PUBLIC_KEY_MD5', 10162);
/**
* The file name for your public key. If not used, libcurl defaults to $HOME/.ssh/id_dsa.pub
* if the HOME environment variable is set, and just "id_dsa.pub" in the current directory if HOME is not set.
* @link https://php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSH_PUBLIC_KEYFILE', 10152);
/**
* The file name for your private key. If not used, libcurl defaults to $HOME/.ssh/id_dsa
* if the HOME environment variable is set, and just "id_dsa" in the current directory if HOME is not set.
* If the file is password-protected, set the password with <b>CURLOPT_KEYPASSWD</b>.
* @link https://php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSH_PRIVATE_KEYFILE', 10153);
/**
* The contents of the "<em>User-Agent: </em>" header to be used in a HTTP request.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_USERAGENT', 10018);
/**
* The value which will be used to get the IP address to use for the FTP "PORT" instruction.
* The "PORT" instruction tells the remote server to connect to our specified IP address.
* The string may be a plain IP address, a hostname, a network interface name (under Unix),
* or just a plain '-' to use the systems default IP address.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FTPPORT', 10017);
/**
* <b>TRUE</b> to first try an EPSV command for FTP transfers before reverting back to PASV. Set to <b>FALSE</b> to disable EPSV.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FTP_USE_EPSV', 85);
/**
* The transfer speed, in bytes per second, that the transfer should be below during the count of <b>CURLOPT_LOW_SPEED_TIME</b> seconds
* before PHP considers the transfer too slow and aborts.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_LOW_SPEED_LIMIT', 19);
/**
* The number of seconds the transfer speed should be below <b>CURLOPT_LOW_SPEED_LIMIT</b>
* before PHP considers the transfer too slow and aborts.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_LOW_SPEED_TIME', 20);
/**
* The offset, in bytes, to resume a transfer from.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_RESUME_FROM', 21);
/**
* The contents of the "<em>Cookie: </em>" header to be used in the HTTP request.
* Note that multiple cookies are separated with a semicolon followed by a space (e.g., "<em>fruit=apple; colour=red</em>")
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_COOKIE', 10022);
/**
* <b>TRUE</b> to mark this as a new cookie "session".
* It will force libcurl to ignore all cookies it is about to load that are "session cookies" from the previous session.
* By default, libcurl always stores and loads all cookies, independent if they are session cookies or not.
* Session cookies are cookies without expiry date and they are meant to be alive and existing for this "session" only.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_COOKIESESSION', 96);
/**
* <b>TRUE</b> to automatically set the Referer: field in requests where it follows a Location: redirect.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_AUTOREFERER', 58);
/**
* The name of a file containing a PEM formatted certificate.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLCERT', 10025);
/**
* The password required to use the <b>CURLOPT_SSLCERT</b> certificate.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLCERTPASSWD', 10026);
/**
* The file that the header part of the transfer is written to.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_WRITEHEADER', 10029);
/**
* 1 to check the existence of a common name in the SSL peer certificate. (Deprecated)
* 2 to check the existence of a common name and also verify that it matches the hostname provided.
* 0 to not check the names. In production environments the value of this option should be kept at 2 (default value).
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSL_VERIFYHOST', 81);
/**
* The name of the file containing the cookie data.
* The cookie file can be in Netscape format, or just plain HTTP-style headers dumped into a file.
* If the name is an empty string, no cookies are loaded, but cookie handling is still enabled.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_COOKIEFILE', 10031);
/**
* One of <b>CURL_SSLVERSION_DEFAULT</b> (0), <b>CURL_SSLVERSION_TLSv1</b> (1), <b>CURL_SSLVERSION_SSLv2</b> (2), <b>CURL_SSLVERSION_SSLv3</b> (3),
* <b>CURL_SSLVERSION_TLSv1_0</b> (4), <b>CURL_SSLVERSION_TLSv1_1</b> (5) or <b>CURL_SSLVERSION_TLSv1_2</b> (6).
* The maximum TLS version can be set by using one of the <b>CURL_SSLVERSION_MAX_*</b> constants.
* It is also possible to OR one of the <b>CURL_SSLVERSION_*</b> constants with one of the <b>CURL_SSLVERSION_MAX_*</b> constants.
* <b>CURL_SSLVERSION_MAX_DEFAULT</b> (the maximum version supported by the library), <b>CURL_SSLVERSION_MAX_TLSv1_0</b>, <b>CURL_SSLVERSION_MAX_TLSv1_1</b>,
* <b>CURL_SSLVERSION_MAX_TLSv1_2</b>, or <b>CURL_SSLVERSION_MAX_TLSv1_3</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLVERSION', 32);
/**
* Value for the <b>CURLOPT_SSLVERSION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
*/
define('CURL_SSLVERSION_DEFAULT', 0);
/**
* Value for the <b>CURLOPT_SSLVERSION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
*/
define('CURL_SSLVERSION_TLSv1', 1);
/**
* Value for the <b>CURLOPT_SSLVERSION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
*/
define('CURL_SSLVERSION_SSLv2', 2);
/**
* Value for the <b>CURLOPT_SSLVERSION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
*/
define('CURL_SSLVERSION_SSLv3', 3);
/**
* Value for the <b>CURLOPT_SSLVERSION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @since 5.6.3
* @since 5.5.19
*/
define('CURL_SSLVERSION_TLSv1_0', 4);
/**
* Value for the <b>CURLOPT_SSLVERSION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @since 5.6.3
* @since 5.5.19
*/
define('CURL_SSLVERSION_TLSv1_1', 5);
/**
* Value for the <b>CURLOPT_SSLVERSION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @since 5.6.3
* @since 5.5.19
*/
define('CURL_SSLVERSION_TLSv1_2', 6);
/**
* How <b>CURLOPT_TIMEVALUE</b> is treated.
* Use <b>CURL_TIMECOND_IFMODSINCE</b> to return the page only if it has been modified since the time specified in <b>CURLOPT_TIMEVALUE</b>.
* If it hasn't been modified, a "304 Not Modified" header will be returned assuming <b>CURLOPT_HEADER</b> is <b>TRUE</b>.
* Use <b>CURL_TIMECOND_IFUNMODSINCE</b> for the reverse effect.
* <b>CURL_TIMECOND_IFMODSINCE</b> is the default.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_TIMECONDITION', 33);
/**
* The time in seconds since January 1st, 1970.
* The time will be used by <b>CURLOPT_TIMECONDITION</b>. By default, <b>CURL_TIMECOND_IFMODSINCE</b> is used.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_TIMEVALUE', 34);
/**
* A custom request method to use instead of "GET" or "HEAD" when doing a HTTP request.
* This is useful for doing "DELETE" or other, more obscure HTTP requests.
* Valid values are things like "GET", "POST", "CONNECT" and so on; i.e. Do not enter a whole HTTP request line here.
* For instance, entering "GET /index.html HTTP/1.0\r\n\r\n" would be incorrect.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_CUSTOMREQUEST', 10036);
/**
* An alternative location to output errors to instead of STDERR.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_STDERR', 10037);
/**
* <b>TRUE</b> to use ASCII mode for FTP transfers.
* For LDAP, it retrieves data in plain text instead of HTML.
* On Windows systems, it will not set STDOUT to binary mode.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_TRANSFERTEXT', 53);
/**
* <b>TRUE</b> to return the transfer as a string of the return value of {@see curl_exec()} instead of outputting it directly.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_RETURNTRANSFER', 19913);
/**
* An array of FTP commands to execute on the server prior to the FTP request.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_QUOTE', 10028);
/**
* An array of FTP commands to execute on the server after the FTP request has been performed.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_POSTQUOTE', 10039);
/**
* The name of the outgoing network interface to use. This can be an interface name, an IP address or a host name.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_INTERFACE', 10062);
/**
* The KRB4 (Kerberos 4) security level.
* Any of the following values (in order from least to most powerful) are valid: "clear", "safe", "confidential", "private".
* If the string does not match one of these, "private" is used.
* Setting this option to <b>NULL</b> will disable KRB4 security. Currently KRB4 security only works with FTP transactions.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_KRB4LEVEL', 10063);
/**
* <b>TRUE</b> to tunnel through a given HTTP proxy.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HTTPPROXYTUNNEL', 61);
/**
* <b>TRUE</b> to attempt to retrieve the modification date of the remote document.
* This value can be retrieved using the <b>CURLINFO_FILETIME</b> option with {@see curl_getinfo()}.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FILETIME', 69);
/**
* A callback accepting two parameters. The first is the cURL resource, and the second is a string with the data to be written.
* The data must be saved by this callback. It must return the exact number of bytes written or the transfer will be aborted with an error.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_WRITEFUNCTION', 20011);
/**
* A callback accepting three parameters.
* The first is the cURL resource,
* the second is a stream resource provided to cURL through the option <b>CURLOPT_INFILE</b>,
* and the third is the maximum amount of data to be read.
* The callback must return a string with a length equal or smaller than the amount of data requested, typically by reading it from the passed stream resource.
* It should return an empty string to signal EOF.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_READFUNCTION', 20012);
/**
* A callback accepting two parameters. The first is the cURL resource, the second is a string with the header data to be written.
* The header data must be written by this callback. Return the number of bytes written.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HEADERFUNCTION', 20079);
/**
* The maximum amount of HTTP redirections to follow. Use this option alongside <b>CURLOPT_FOLLOWLOCATION</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_MAXREDIRS', 68);
/**
* The maximum amount of persistent connections that are allowed.
* When the limit is reached, <b>CURLOPT_CLOSEPOLICY</b> is used to determine which connection to close.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_MAXCONNECTS', 71);
/**
* This option is deprecated, as it was never implemented in cURL and never had any effect.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @removed 5.6
*/
define('CURLOPT_CLOSEPOLICY', 72);
/**
* <b>TRUE</b> to force the use of a new connection instead of a cached one.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FRESH_CONNECT', 74);
/**
* <b>TRUE</b> to force the connection to explicitly close when it has finished processing, and not be pooled for reuse.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FORBID_REUSE', 75);
/**
* A filename to be used to seed the random number generator for SSL.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_RANDOM_FILE', 10076);
/**
* Like <b>CURLOPT_RANDOM_FILE</b>, except a filename to an Entropy Gathering Daemon socket.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_EGDSOCKET', 10077);
/**
* The number of seconds to wait while trying to connect. Use 0 to wait indefinitely.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_CONNECTTIMEOUT', 78);
/**
* The number of milliseconds to wait while trying to connect. Use 0 to wait indefinitely.
* If libcurl is built to use the standard system name resolver, that portion of the connect
* will still use full-second resolution for timeouts with a minimum timeout allowed of one second.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @since 5.2.3
*/
define('CURLOPT_CONNECTTIMEOUT_MS', 156);
/**
* <b>FALSE</b> to stop cURL from verifying the peer's certificate.
* Alternate certificates to verify against can be specified with the <b>CURLOPT_CAINFO</b> option or
* a certificate directory can be specified with the <b>CURLOPT_CAPATH</b> option.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSL_VERIFYPEER', 64);
/**
* The name of a file holding one or more certificates to verify the peer with.
* This only makes sense when used in combination with <b>CURLOPT_SSL_VERIFYPEER</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_CAINFO', 10065);
/**
* A directory that holds multiple CA certificates. Use this option alongside <b>CURLOPT_SSL_VERIFYPEER</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_CAPATH', 10097);
/**
* The name of a file to save all internal cookies to when the handle is closed, e.g. after a call to curl_close.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_COOKIEJAR', 10082);
/**
* A list of ciphers to use for SSL. For example, RC4-SHA and TLSv1 are valid cipher lists.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSL_CIPHER_LIST', 10083);
/**
* <b>TRUE</b> to return the raw output when CURLOPT_RETURNTRANSFER is used.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @deprecated 5.1.3
*/
define('CURLOPT_BINARYTRANSFER', 19914);
/**
* <b>TRUE</b> to ignore any cURL function that causes a signal to be sent to the PHP process.
* This is turned on by default in multi-threaded SAPIs so timeout options can still be used.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_NOSIGNAL', 99);
/**
* Either <b>CURLPROXY_HTTP</b> (default), <b>CURLPROXY_SOCKS4</b>, <b>CURLPROXY_SOCKS5</b>, <b>CURLPROXY_SOCKS4A</b> or <b>CURLPROXY_SOCKS5_HOSTNAME</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PROXYTYPE', 101);
/**
* The size of the buffer to use for each read. There is no guarantee this request will be fulfilled, however.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_BUFFERSIZE', 98);
/**
* <b>TRUE</b> to reset the HTTP request method to GET. Since GET is the default, this is only necessary if the request method has been changed.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HTTPGET', 80);
/**
* <b>CURL_HTTP_VERSION_NONE</b> (default, lets CURL decide which version to use),
* <b>CURL_HTTP_VERSION_1_0</b> (forces HTTP/1.0), <b>CURL_HTTP_VERSION_1_1</b> (forces HTTP/1.1), <b>CURL_HTTP_VERSION_2_0</b> (attempts HTTP 2),
* <b>CURL_HTTP_VERSION_2</b> (alias of CURL_HTTP_VERSION_2_0), <b>CURL_HTTP_VERSION_2TLS</b> (attempts HTTP 2 over TLS (HTTPS) only) or
* <b>CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE</b> (issues non-TLS HTTP requests using HTTP/2 without HTTP/1.1 Upgrade).
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HTTP_VERSION', 84);
/**
* The name of a file containing a private SSL key.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLKEY', 10087);
/**
* The key type of the private SSL key specified in <b>CURLOPT_SSLKEY</b>.
* Supported key types are "<em>PEM</em>" (default), "<em>DER</em>", and "<em>ENG</em>".
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLKEYTYPE', 10088);
/**
* The secret password needed to use the private SSL key specified in <b>CURLOPT_SSLKEY</b>.
* (Since this option contains a sensitive password, remember to keep the PHP script it is contained within safe)
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLKEYPASSWD', 10026);
/**
* The identifier for the crypto engine of the private SSL key specified in <b>CURLOPT_SSLKEY</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLENGINE', 10089);
/**
* The identifier for the crypto engine used for asymmetric crypto operations.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLENGINE_DEFAULT', 90);
/**
* The format of the certificate.
* Supported formats are "<em>PEM</em>" (default), "<em>DER</em>", and "<em>ENG</em>". As of OpenSSL 0.9.3, "<em>P12</em>" (for PKCS#12-encoded files) is also supported.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_SSLCERTTYPE', 10086);
/**
* <b>TRUE</b> to convert Unix newlines to CRLF newlines on transfers.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_CRLF', 27);
/**
* The contents of the "<em>Accept-Encoding: </em>" header. This enables decoding of the response.
* Supported encodings are "identity", "deflate", and "gzip".
* If an empty string, "", is set, a header containing all supported encoding types is sent.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_ENCODING', 10102);
/**
* The port number of the proxy to connect to. This port number can also be set in <b>CURLOPT_PROXY</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PROXYPORT', 59);
/**
* <b>TRUE</b> to keep sending the username and password when following locations
* (using <b>CURLOPT_FOLLOWLOCATION</b>), even when the hostname has changed.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_UNRESTRICTED_AUTH', 105);
/**
* <b>TRUE</b> to use EPRT (and LPRT) when doing active FTP downloads. Use <b>FALSE</b> to disable EPRT and LPRT and use PORT only.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FTP_USE_EPRT', 106);
/**
* <b>TRUE</b> to disable TCP's Nagle algorithm, which tries to minimize the number of small packets on the network.
* @link https://php.net/manual/en/curl.constants.php
* @since 5.2.1
*/
define('CURLOPT_TCP_NODELAY', 121);
/**
* An array of HTTP 200 responses that will be treated as valid responses and not as errors.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HTTP200ALIASES', 10104);
/**
* Value for the <b>CURLOPT_TIMECONDITION</b> option.
* Return the page only if it has been modified since the time specified in <b>CURLOPT_TIMEVALUE</b>.
* @link https://www.php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html
*/
define('CURL_TIMECOND_IFMODSINCE', 1);
/**
* Value for the <b>CURLOPT_TIMECONDITION</b> option.
* Return the page if it hasn't been modified since the time specified in <b>CURLOPT_TIMEVALUE</b>.
* @link https://www.php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html
*/
define('CURL_TIMECOND_IFUNMODSINCE', 2);
/**
* Value for the <b>CURLOPT_TIMECONDITION</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
*/
define('CURL_TIMECOND_LASTMOD', 3);
/**
* The HTTP authentication method(s) to use.
* The options are: <b>CURLAUTH_BASIC</b>, <b>CURLAUTH_DIGEST</b>, <b>CURLAUTH_GSSNEGOTIATE</b>, <b>CURLAUTH_NTLM</b>, <b>CURLAUTH_ANY</b>, and <b>CURLAUTH_ANYSAFE</b>.
* The bitwise | (or) operator can be used to combine more than one method.
* If this is done, cURL will poll the server to see what methods it supports and pick the best one.
* <b>CURLAUTH_ANY</b> is an alias for <b>CURLAUTH_BASIC</b> | <b>CURLAUTH_DIGEST</b> | <b>CURLAUTH_GSSNEGOTIATE</b> | <b>CURLAUTH_NTLM</b>.
* <b>CURLAUTH_ANYSAFE</b> is an alias for <b>CURLAUTH_DIGEST</b> | <b>CURLAUTH_GSSNEGOTIATE</b> | <b>CURLAUTH_NTLM</b>.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_HTTPAUTH', 107);
/**
* Value for the <b>CURLOPT_HTTPAUTH</b> option.
* Allows username/password authentication.
* @link https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html
*/
define('CURLAUTH_BASIC', 1);
/**
* Value for the <b>CURLOPT_HTTPAUTH</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html
*/
define('CURLAUTH_DIGEST', 2);
/**
* Value for the <b>CURLOPT_HTTPAUTH</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html
*/
define('CURLAUTH_GSSNEGOTIATE', 4);
/**
* Value for the <b>CURLOPT_HTTPAUTH</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html
*/
define('CURLAUTH_NTLM', 8);
/**
* Value for the <b>CURLOPT_HTTPAUTH</b> option.
* Is an alias for <b>CURLAUTH_BASIC</b> | <b>CURLAUTH_DIGEST</b> | <b>CURLAUTH_GSSNEGOTIATE</b> | <b>CURLAUTH_NTLM</b>.
* @link https://www.php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html
*/
define('CURLAUTH_ANY', -17);
/**
* Value for the <b>CURLOPT_HTTPAUTH</b> option.
* Is an alias for <b>CURLAUTH_DIGEST</b> | <b>CURLAUTH_GSSNEGOTIATE</b> | <b>CURLAUTH_NTLM</b>.
* @link https://www.php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html
*/
define('CURLAUTH_ANYSAFE', -18);
/**
* The HTTP authentication method(s) to use for the proxy connection.
* Use the same bitmasks as described in <b>CURLOPT_HTTPAUTH</b>.
* For proxy authentication, only <b>CURLAUTH_BASIC</b> and <b>CURLAUTH_NTLM</b> are currently supported.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_PROXYAUTH', 111);
/**
* <b>TRUE</b> to create missing directories when an FTP operation encounters a path that currently doesn't exist.
* @link https://www.php.net/manual/en/function.curl-setopt.php
*/
define('CURLOPT_FTP_CREATE_MISSING_DIRS', 110);
/**
* Any data that should be associated with this cURL handle.
* This data can subsequently be retrieved with the <b>CURLINFO_PRIVATE</b> option of {@see curl_getinfo()}. cURL does nothing with this data.
* When using a cURL multi handle, this private data is typically a unique key to identify a standard cURL handle.
* @link https://php.net/manual/en/curl.constants.php
* @since 5.2.4
*/
define('CURLOPT_PRIVATE', 10103);
/**
* The last response code
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_RESPONSE_CODE', 2097154);
/**
* The CONNECT response code
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_HTTP_CONNECTCODE', 2097174);
/**
* Bitmask indicating the authentication method(s) available according to the previous response
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_HTTPAUTH_AVAIL', 2097175);
/**
* Bitmask indicating the proxy authentication method(s) available according to the previous response
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_PROXYAUTH_AVAIL', 2097176);
/**
* Errno from a connect failure. The number is OS and system specific.
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_OS_ERRNO', 2097177);
/**
* Number of connections curl had to create to achieve the previous transfer
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_NUM_CONNECTS', 2097178);
/**
* OpenSSL crypto-engines supported
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_SSL_ENGINES', 4194331);
/**
* All known cookies
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_COOKIELIST', 4194332);
/**
* Entry path in FTP server
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_FTP_ENTRY_PATH', 1048606);
/**
* Time in seconds it took from the start until the SSL/SSH connect/handshake to the remote host was completed
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_APPCONNECT_TIME', 3145761);
/**
* TLS certificate chain
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_CERTINFO', 4194338);
/**
* Info on unmet time conditional
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_CONDITION_UNMET', 2097187);
/**
* Next RTSP client CSeq
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_RTSP_CLIENT_CSEQ', 2097189);
/**
* Recently received CSeq
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_RTSP_CSEQ_RECV', 2097191);
/**
* Next RTSP server CSeq
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_RTSP_SERVER_CSEQ', 2097190);
/**
* RTSP session ID
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5
*/
define('CURLINFO_RTSP_SESSION_ID', 1048612);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @removed 5.6
*/
define('CURLCLOSEPOLICY_LEAST_RECENTLY_USED', 2);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @removed 5.6
*/
define('CURLCLOSEPOLICY_LEAST_TRAFFIC', 3);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @removed 5.6
*/
define('CURLCLOSEPOLICY_SLOWEST', 4);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @removed 5.6
*/
define('CURLCLOSEPOLICY_CALLBACK', 5);