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 () => {
5151 const allowedCurlInfos = await retrieveConstantList ( {
5252 url : 'https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html' ,
5353 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+ ] ,
5564 } )
5665 await createConstantsFile ( {
5766 constants : allowedCurlInfos ,
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ const getSetOptDefinition = (
99 setOptReturnType ,
1010) =>
1111 `/**
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)
1516 */
1617setOpt(option: ${ optionNameType } , value: ${ optionValueType } | null): ${ setOptReturnType } `
1718
You can’t perform that action at this time.
0 commit comments