-
-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathMultiOption.ts
More file actions
90 lines (80 loc) · 3.06 KB
/
MultiOption.ts
File metadata and controls
90 lines (80 loc) · 3.06 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
/**
* 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.547Z
// Do not edit manually
/**
* @public
*/
export interface MultiOption {
/**
* deprecated
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.html](https://curl.haxx.se/libcurl/c/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.html)
*/
readonly CHUNK_LENGTH_PENALTY_SIZE: 'CHUNK_LENGTH_PENALTY_SIZE'
/**
* deprecated
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.html](https://curl.haxx.se/libcurl/c/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.html)
*/
readonly CONTENT_LENGTH_PENALTY_SIZE: 'CONTENT_LENGTH_PENALTY_SIZE'
/**
* Max concurrent streams for http2.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_CONCURRENT_STREAMS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_CONCURRENT_STREAMS.html)
*/
readonly MAX_CONCURRENT_STREAMS: 'MAX_CONCURRENT_STREAMS'
/**
* Max number of connections to a single host.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_HOST_CONNECTIONS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_HOST_CONNECTIONS.html)
*/
readonly MAX_HOST_CONNECTIONS: 'MAX_HOST_CONNECTIONS'
/**
* deprecated.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_PIPELINE_LENGTH.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_PIPELINE_LENGTH.html)
*/
readonly MAX_PIPELINE_LENGTH: 'MAX_PIPELINE_LENGTH'
/**
* Max simultaneously open connections.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_TOTAL_CONNECTIONS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_TOTAL_CONNECTIONS.html)
*/
readonly MAX_TOTAL_CONNECTIONS: 'MAX_TOTAL_CONNECTIONS'
/**
* Size of connection cache.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_MAXCONNECTS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAXCONNECTS.html)
*/
readonly MAXCONNECTS: 'MAXCONNECTS'
/**
* Signal that the network has changed.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_NETWORK_CHANGED.html](https://curl.haxx.se/libcurl/c/CURLMOPT_NETWORK_CHANGED.html)
*/
readonly NETWORK_CHANGED: 'NETWORK_CHANGED'
/**
* Callback that approves or denies server pushes.
*
* Official libcurl documentation: [https://curl.haxx.se/libcurl/c/CURLMOPT_PUSHFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLMOPT_PUSHFUNCTION.html)
*/
readonly PUSHFUNCTION: 'PUSHFUNCTION'
}
/**
* @public
*/
export type MultiOptionName =
| 'CHUNK_LENGTH_PENALTY_SIZE'
| 'CONTENT_LENGTH_PENALTY_SIZE'
| 'MAX_CONCURRENT_STREAMS'
| 'MAX_HOST_CONNECTIONS'
| 'MAX_PIPELINE_LENGTH'
| 'MAX_TOTAL_CONNECTIONS'
| 'MAXCONNECTS'
| 'NETWORK_CHANGED'
| 'PUSHFUNCTION'