about summary refs log tree commit diff stats
path: root/src/bindings
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-04-30 17:13:29 +0200
committerbptato <nincsnevem662@gmail.com>2023-04-30 17:13:29 +0200
commitc235e638788b43ca752179341e429f4d7e090870 (patch)
treef1928dfc396edf9eb30dda80de1c873716c955d0 /src/bindings
parent2a4aeb3acb7c4877ee0d4b972bb204453eee67d5 (diff)
downloadchawan-c235e638788b43ca752179341e429f4d7e090870.tar.gz
Add initial proxy support
For now, API-only.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/curl.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bindings/curl.nim b/src/bindings/curl.nim
index f39f3f84..ca31e4f2 100644
--- a/src/bindings/curl.nim
+++ b/src/bindings/curl.nim
@@ -81,6 +81,7 @@ type
     # Objectpoint
     CURLOPT_WRITEDATA = CURLOPTTYPE_CBPOINT + 1
     CURLOPT_URL = CURLOPTTYPE_STRINGPOINT + 2
+    CURLOPT_PROXY = CURLOPTTYPE_STRINGPOINT + 4
     CURLOPT_POSTFIELDS = CURLOPTTYPE_OBJECTPOINT + 15
     CURLOPT_HTTPHEADER = CURLOPTTYPE_SLISTPOINT + 23
     CURLOPT_HEADERDATA = CURLOPTTYPE_CBPOINT + 29