Added curlopt_proxy constant
Contributed by Heiko Gering git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@79745 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
@@ -276,6 +276,16 @@ feature -- Enumerations.
|
|||||||
]"
|
]"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
curlopt_proxy: INTEGER
|
||||||
|
-- Declared as CURLOPT_PROXY.
|
||||||
|
external
|
||||||
|
"C inline use <curl/curl.h>"
|
||||||
|
alias
|
||||||
|
"[
|
||||||
|
return CURLOPT_PROXY;
|
||||||
|
]"
|
||||||
|
end
|
||||||
|
|
||||||
is_valid (a_integer: INTEGER): BOOLEAN
|
is_valid (a_integer: INTEGER): BOOLEAN
|
||||||
-- If `a_integer' value valid?
|
-- If `a_integer' value valid?
|
||||||
do
|
do
|
||||||
@@ -303,7 +313,8 @@ feature -- Enumerations.
|
|||||||
a_integer = curlopt_upload or
|
a_integer = curlopt_upload or
|
||||||
a_integer = curlopt_put or
|
a_integer = curlopt_put or
|
||||||
a_integer = curlopt_readdata or
|
a_integer = curlopt_readdata or
|
||||||
a_integer = curlopt_infilesize_large
|
a_integer = curlopt_infilesize_large or
|
||||||
|
a_integer = curlopt_proxy
|
||||||
end
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
|
|||||||
Reference in New Issue
Block a user