Home
last modified time | relevance | path

Searched refs:NETSTACK_CURL_EASY_SET_OPTION (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_task.cpp37 #define NETSTACK_CURL_EASY_SET_OPTION(handle, opt, data) \ macro
193 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_SSL_CTX_FUNCTION, sslCtxFunc); in SetSSLCertOption()
194 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_SSL_CTX_DATA, this); in SetSSLCertOption()
195 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_CAINFO, nullptr); in SetSSLCertOption()
196 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_SSL_VERIFYPEER, 1L); in SetSSLCertOption()
197 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_SSL_VERIFYHOST, 2L); in SetSSLCertOption()
199 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_CAINFO, nullptr); in SetSSLCertOption()
200 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_SSL_VERIFYPEER, 0L); in SetSSLCertOption()
201 NETSTACK_CURL_EASY_SET_OPTION(handle, CURLOPT_SSL_VERIFYHOST, 0L); in SetSSLCertOption()
204 NETSTACK_CURL_EASY_SET_OPTION(handl in SetSSLCertOption()
[all...]
/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/src/
H A Dfetch_exec.cpp28 #define NETSTACK_CURL_EASY_SET_OPTION(handle, opt, data, asyncContext) \ macro
241 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_NOBODY, 1L, context); in SetOption()
244 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_URL, context->request.GetUrl().c_str(), context); in SetOption()
245 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_CUSTOMREQUEST, method.c_str(), context); in SetOption()
247 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_WRITEFUNCTION, OnWritingMemoryBody, context); in SetOption()
248 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_WRITEDATA, context, context); in SetOption()
250 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_HEADERFUNCTION, OnWritingMemoryHeader, context); in SetOption()
251 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_HEADERDATA, context, context); in SetOption()
253 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_HTTPHEADER, requestHeader, context); in SetOption()
256 NETSTACK_CURL_EASY_SET_OPTION(cur in SetOption()
[all...]
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_client_exec.cpp46 #define NETSTACK_CURL_EASY_SET_OPTION(handle, opt, data, asyncContext) \ macro
518 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PROXY, host.c_str(), context); in SetOtherOption()
519 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PROXYPORT, port, context); in SetOtherOption()
521 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_HTTPPROXYTUNNEL, curlTunnelValue, context); in SetOtherOption()
523 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PROXYTYPE, proxyType, context); in SetOtherOption()
525 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2, context); in SetOtherOption()
526 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_SSL_CIPHER_LIST, TLS12_SECURITY_CIPHER_SUITE, context); in SetOtherOption()
528 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PROXYUSERPWD, NETSTACK_PROXY_PASS, context); in SetOtherOption()
532 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_VERBOSE, 1L, context); in SetOtherOption()
536 NETSTACK_CURL_EASY_SET_OPTION(cur in SetOtherOption()
[all...]
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp62 #define NETSTACK_CURL_EASY_SET_OPTION(handle, opt, data, asyncContext) \ macro
201 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_RESOLVER_START_DATA, context, context); in SetTraceOptions()
202 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_RESOLVER_START_FUNCTION, in SetTraceOptions()
213 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_SOCKOPTDATA, context, context); in SetTraceOptions()
214 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_SOCKOPTFUNCTION, in SetTraceOptions()
226 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_SSL_CTX_DATA, context, context); in SetTraceOptions()
227 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_SSL_CTX_FUNCTION, in SetTraceOptions()
238 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PREREQDATA, context, context); in SetTraceOptions()
239 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PREREQFUNCTION, in SetTraceOptions()
325 NETSTACK_CURL_EASY_SET_OPTION(handl in AddCurlHandle()
[all...]

Completed in 5 milliseconds