File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,16 @@ const run = async () => {
51
51
const allowedCurlInfos = await retrieveConstantList ( {
52
52
url : 'https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html' ,
53
53
constantPrefix : 'CURLINFO_' ,
54
- blacklist : [ ] ,
54
+ blacklist : [
55
+ // time constants at the bottom
56
+ 'NAMELOOKUP' ,
57
+ 'CONNECT' ,
58
+ 'APPCONNECT' ,
59
+ 'PRETRANSFER' ,
60
+ 'STARTTRANSFER' ,
61
+ 'TOTAL' ,
62
+ 'REDIRECT' ,
63
+ ] ,
55
64
} )
56
65
await createConstantsFile ( {
57
66
constants : allowedCurlInfos ,
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ const getSetOptDefinition = (
9
9
setOptReturnType ,
10
10
) =>
11
11
`/**
12
- * Use \`Curl.option\` for predefined constants.
13
- *
14
- * Official libcurl documentation: [curl_easy_setopt()](http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)
12
+ * Use {@link "Curl".Curl.option|\`Curl.option\`} for predefined constants.
13
+ *
14
+ *
15
+ * Official libcurl documentation: [\`curl_easy_setopt()\`](http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)
15
16
*/
16
17
setOpt(option: ${ optionNameType } , value: ${ optionValueType } | null): ${ setOptReturnType } `
17
18
You can’t perform that action at this time.
0 commit comments