curl_formadd()
, except you would omit the first two struct curl_httppost**
arguments (firstitem
and lastitem
), which are wrapped in this class. So you should pass arguments in the following sequence: CurlHttpMultiPartForm.AddSection(option1, value1, ..., optionX, valueX, CurlFormOption.End)
;
For a complete list of possible options, see the documentation for the CurlFormOption enumeration.
PtrName
, etc.) make an internal copy of the passed byte
array. Therefore, any changes you make to the client copy of this array AFTER calling this method, won't be reflected internally with cURL
. The purpose of providing the pointer options is to support the posting of non-string binary data. public AddSection ( ) : CurlFormCode | ||
return | CurlFormCode |