|
4 | 4 | * This source code is licensed under the MIT license found in the |
5 | 5 | * LICENSE file in the root directory of this source tree. |
6 | 6 | */ |
7 | | -// This file was generated by scripts/build-constants.js on 2022-10-31T13:17:03.479Z |
| 7 | +// This file was generated by scripts/build-constants.js on 2022-10-31T13:21:27.724Z |
8 | 8 | // Do not edit manually |
9 | 9 |
|
10 | 10 | import { CurlChunk } from '../enum/CurlChunk' |
@@ -974,6 +974,13 @@ export interface CurlOption { |
974 | 974 | */ |
975 | 975 | readonly PROTOCOLS: 'PROTOCOLS' |
976 | 976 |
|
| 977 | + /** |
| 978 | + * Allowed protocols. |
| 979 | + * |
| 980 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html) |
| 981 | + */ |
| 982 | + readonly PROTOCOLS_STR: 'PROTOCOLS_STR' |
| 983 | + |
977 | 984 | /** |
978 | 985 | * Proxy to use. |
979 | 986 | * |
@@ -1254,6 +1261,13 @@ export interface CurlOption { |
1254 | 1261 | */ |
1255 | 1262 | readonly REDIR_PROTOCOLS: 'REDIR_PROTOCOLS' |
1256 | 1263 |
|
| 1264 | + /** |
| 1265 | + * Protocols to allow redirects to. |
| 1266 | + * |
| 1267 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html) |
| 1268 | + */ |
| 1269 | + readonly REDIR_PROTOCOLS_STR: 'REDIR_PROTOCOLS_STR' |
| 1270 | + |
1257 | 1271 | /** |
1258 | 1272 | * Referer: header. |
1259 | 1273 | * |
@@ -2765,6 +2779,13 @@ export const CurlOptionCamelCaseMap = { |
2765 | 2779 | */ |
2766 | 2780 | protocols: 'PROTOCOLS', |
2767 | 2781 |
|
| 2782 | + /** |
| 2783 | + * Allowed protocols. |
| 2784 | + * |
| 2785 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html) |
| 2786 | + */ |
| 2787 | + protocolsStr: 'PROTOCOLS_STR', |
| 2788 | + |
2768 | 2789 | /** |
2769 | 2790 | * Proxy to use. |
2770 | 2791 | * |
@@ -3045,6 +3066,13 @@ export const CurlOptionCamelCaseMap = { |
3045 | 3066 | */ |
3046 | 3067 | redirProtocols: 'REDIR_PROTOCOLS', |
3047 | 3068 |
|
| 3069 | + /** |
| 3070 | + * Protocols to allow redirects to. |
| 3071 | + * |
| 3072 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html) |
| 3073 | + */ |
| 3074 | + redirProtocolsStr: 'REDIR_PROTOCOLS_STR', |
| 3075 | + |
3048 | 3076 | /** |
3049 | 3077 | * Referer: header. |
3050 | 3078 | * |
@@ -3757,6 +3785,7 @@ export type CurlOptionName = |
3757 | 3785 | | 'PREREQFUNCTION' |
3758 | 3786 | | 'PROGRESSFUNCTION' |
3759 | 3787 | | 'PROTOCOLS' |
| 3788 | + | 'PROTOCOLS_STR' |
3760 | 3789 | | 'PROXY' |
3761 | 3790 | | 'PROXY_CAINFO' |
3762 | 3791 | | 'PROXY_CAINFO_BLOB' |
@@ -3797,6 +3826,7 @@ export type CurlOptionName = |
3797 | 3826 | | 'READDATA' |
3798 | 3827 | | 'READFUNCTION' |
3799 | 3828 | | 'REDIR_PROTOCOLS' |
| 3829 | + | 'REDIR_PROTOCOLS_STR' |
3800 | 3830 | | 'REFERER' |
3801 | 3831 | | 'REQUEST_TARGET' |
3802 | 3832 | | 'RESOLVE' |
@@ -5908,6 +5938,20 @@ export type CurlOptionValueType = { |
5908 | 5938 | */ |
5909 | 5939 | protocols?: CurlProtocol | null |
5910 | 5940 |
|
| 5941 | + /** |
| 5942 | + * Allowed protocols. |
| 5943 | + * |
| 5944 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html) |
| 5945 | + */ |
| 5946 | + PROTOCOLS_STR?: string | number | boolean | null |
| 5947 | + |
| 5948 | + /** |
| 5949 | + * Allowed protocols. |
| 5950 | + * |
| 5951 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html) |
| 5952 | + */ |
| 5953 | + protocolsStr?: string | number | boolean | null |
| 5954 | + |
5911 | 5955 | /** |
5912 | 5956 | * Proxy to use. |
5913 | 5957 | * |
@@ -6482,6 +6526,20 @@ export type CurlOptionValueType = { |
6482 | 6526 | */ |
6483 | 6527 | redirProtocols?: CurlProtocol | null |
6484 | 6528 |
|
| 6529 | + /** |
| 6530 | + * Protocols to allow redirects to. |
| 6531 | + * |
| 6532 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html) |
| 6533 | + */ |
| 6534 | + REDIR_PROTOCOLS_STR?: string | number | boolean | null |
| 6535 | + |
| 6536 | + /** |
| 6537 | + * Protocols to allow redirects to. |
| 6538 | + * |
| 6539 | + * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html) |
| 6540 | + */ |
| 6541 | + redirProtocolsStr?: string | number | boolean | null |
| 6542 | + |
6485 | 6543 | /** |
6486 | 6544 | * Referer: header. |
6487 | 6545 | * |
|
0 commit comments