Lines Matching refs:curl

34 CurlRequest::CurlRequest( CURL *curl )  in CurlRequest()  argument
35 : curl( curl ) in CurlRequest()
47 curl_easy_setopt( curl, CURLOPT_HEADERFUNCTION, Curl_HeaderReceived ); in CurlRequest()
48 curl_easy_setopt( curl, CURLOPT_HEADERDATA, this ); in CurlRequest()
49 curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, Curl_MoreBodyReceived ); in CurlRequest()
50 curl_easy_setopt( curl, CURLOPT_WRITEDATA, this ); in CurlRequest()
57 curl_easy_setopt( curl, CURLOPT_CURLU, NULL ); in ~CurlRequest()
59 curl_easy_setopt( curl, CURLOPT_HTTPHEADER, NULL ); in ~CurlRequest()
62 curl_easy_setopt( curl, CURLOPT_READFUNCTION, NULL ); in ~CurlRequest()
63 curl_easy_setopt( curl, CURLOPT_READDATA, NULL ); in ~CurlRequest()
64 curl_easy_setopt( curl, CURLOPT_INFILESIZE, -1 ); in ~CurlRequest()
65 curl_easy_setopt( curl, CURLOPT_SEEKFUNCTION, NULL ); in ~CurlRequest()
66 curl_easy_setopt( curl, CURLOPT_SEEKDATA, NULL ); in ~CurlRequest()
67 curl_easy_setopt( curl, CURLOPT_HEADERFUNCTION, NULL ); in ~CurlRequest()
68 curl_easy_setopt( curl, CURLOPT_HEADERDATA, NULL ); in ~CurlRequest()
69 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, NULL ); in ~CurlRequest()
70 curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, NULL ); in ~CurlRequest()
71 curl_easy_setopt( curl, CURLOPT_WRITEDATA, NULL ); in ~CurlRequest()
81 curl_easy_setopt( curl, CURLOPT_HTTPHEADER, requestHeaders ); in addHeader()
93 curl_easy_setopt( curl, CURLOPT_READFUNCTION, Curl_SendMoreBody ); in setRequestBody()
94 curl_easy_setopt( curl, CURLOPT_READDATA, this ); in setRequestBody()
95 curl_easy_setopt( curl, CURLOPT_SEEKFUNCTION, Curl_SeekCallback ); in setRequestBody()
96 curl_easy_setopt( curl, CURLOPT_SEEKDATA, this ); in setRequestBody()
100 curl_easy_setopt( curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)size ); in setRequestBody()
165 curl_easy_setopt( curl, CURLOPT_CURLU, curlUrl ); in setURI()
171 curl_easy_setopt( curl, CURLOPT_HTTPGET, 1L ); in copy()
172 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "COPY" ); in copy()
179 curl_easy_setopt( curl, CURLOPT_HTTPGET, 1L ); in delete_()
180 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "DELETE" ); in delete_()
187 curl_easy_setopt( curl, CURLOPT_HTTPGET, 1L ); in get()
188 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "GET" ); in get()
195 curl_easy_setopt( curl, CURLOPT_NOBODY, 1L ); in head()
196 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "HEAD" ); in head()
203 curl_easy_setopt( curl, CURLOPT_UPLOAD, 1L ); in lock()
204 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "LOCK" ); in lock()
211 curl_easy_setopt( curl, CURLOPT_HTTPGET, 1L ); in mkcol()
212 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "MKCOL" ); in mkcol()
219 curl_easy_setopt( curl, CURLOPT_HTTPGET, 1L ); in move()
220 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "MOVE" ); in move()
227 curl_easy_setopt( curl, CURLOPT_UPLOAD, 1L ); in post()
228 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "POST" ); in post()
235 curl_easy_setopt( curl, CURLOPT_UPLOAD, 1L ); in propfind()
236 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "PROPFIND" ); in propfind()
243 curl_easy_setopt( curl, CURLOPT_UPLOAD, 1L ); in proppatch()
244 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "PROPPATCH" ); in proppatch()
251 curl_easy_setopt( curl, CURLOPT_UPLOAD, 1L ); in put()
252 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "PUT" ); in put()
259 curl_easy_setopt( curl, CURLOPT_HTTPGET, 1L ); in unlock()
260 curl_easy_setopt( curl, CURLOPT_CUSTOMREQUEST, "UNLOCK" ); in unlock()
266 CURLcode rc = curl_easy_perform( curl ); in perform()
268 curl_easy_getinfo( curl, CURLINFO_RESPONSE_CODE, &statusCode ); in perform()
277 rc = curl_easy_perform( curl ); in perform()
282 curl_easy_getinfo( curl, CURLINFO_RESPONSE_CODE, &statusCode ); in perform()
291 rc = curl_easy_perform( curl ); in perform()