Added CURLOPT_CUSTOMREQUEST
More info please check: http://curl.haxx.se/libcurl/c/curl_easy_setopt.html Contributed by Javier Hector git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@83453 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
@@ -316,6 +316,16 @@ feature -- Enumerations.
|
|||||||
]"
|
]"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
curlopt_customrequest: INTEGER
|
||||||
|
-- Declared as CURLOPT_CUSTOMREQUEST
|
||||||
|
external
|
||||||
|
"C inline use <curl/curl.h>"
|
||||||
|
alias
|
||||||
|
"[
|
||||||
|
return CURLOPT_CUSTOMREQUEST
|
||||||
|
]"
|
||||||
|
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
|
||||||
@@ -347,12 +357,13 @@ feature -- Enumerations.
|
|||||||
a_integer = curlopt_infilesize_large or
|
a_integer = curlopt_infilesize_large or
|
||||||
a_integer = curlopt_proxy or
|
a_integer = curlopt_proxy or
|
||||||
a_integer = curlopt_encoding or
|
a_integer = curlopt_encoding or
|
||||||
a_integer = curlopt_timeout
|
a_integer = curlopt_timeout or
|
||||||
|
a_integer = curlopt_customrequest
|
||||||
end
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
library: "cURL: Library of reusable components for Eiffel."
|
library: "cURL: Library of reusable components for Eiffel."
|
||||||
copyright: "Copyright (c) 1984-2009, Eiffel Software and others"
|
copyright: "Copyright (c) 1984-2010, Eiffel Software and others"
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
Reference in New Issue
Block a user