diff options
Diffstat (limited to 'src/bindings')
| -rw-r--r-- | src/bindings/curl.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bindings/curl.nim b/src/bindings/curl.nim index db120264..7c88f3f6 100644 --- a/src/bindings/curl.nim +++ b/src/bindings/curl.nim @@ -55,6 +55,7 @@ type CURLOPT_FOLLOWLOCATION = CURLOPTTYPE_LONG + 52 CURLOPT_POSTFIELDSIZE = CURLOPTTYPE_LONG + 60 CURLOPT_HTTPGET = CURLOPTTYPE_LONG + 80 + CURLOPT_CONNECT_ONLY = CURLOPTTYPE_LONG + 141 # Objectpoint CURLOPT_WRITEDATA = CURLOPTTYPE_CBPOINT + 1 @@ -89,6 +90,9 @@ type # Long CURLINFO_RESPONSE_CODE = CURLINFO_LONG + 2 + # Socket + CURLINFO_ACTIVESOCKET = CURLINFO_SOCKET + 44 + CURLcode* {.size: sizeof(cint).} = enum CURLE_OK = 0, CURLE_UNSUPPORTED_PROTOCOL, # 1 |